Skip to content

Commit

Permalink
Fixed typo in transaction scheduling creation
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmyshchyshyn committed Jan 10, 2025
1 parent 7135881 commit cd92525
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/types/Deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -269,9 +269,7 @@ export class Deploy {
* @param keys The private key used to sign the deploy.
*/
public sign(keys: PrivateKey): void {
const signatureBytes = keys.signAndAddAlgorithmBytes(
this.hash.toBytes()
);
const signatureBytes = keys.signAndAddAlgorithmBytes(this.hash.toBytes());
const signature = new HexBytes(signatureBytes);
this.approvals.push(new Approval(keys.publicKey, signature));
}
Expand Down Expand Up @@ -412,7 +410,7 @@ export class Deploy {
deploy.session.getArgs(),
TransactionTarget.newTransactionTargetFromSession(deploy.session),
transactionEntryPoint,
new TransactionScheduling({ standard: {} }),
new TransactionScheduling({}), // Standard
deploy.approvals,
undefined,
deploy
Expand Down

0 comments on commit cd92525

Please sign in to comment.