Skip to content

Commit

Permalink
Order fix
Browse files Browse the repository at this point in the history
  • Loading branch information
perekopskiy committed Feb 11, 2022
1 parent 315d4d0 commit 6154d45
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sdk/zksync.js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "zksync",
"version": "0.12.0-alpha.5",
"version": "0.12.0-alpha.6",
"license": "MIT",
"main": "build/index.js",
"types": "build/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion sdk/zksync.js/src/remote-wallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ export class RemoteWallet extends AbstractWallet {
try {
const preparedOrder = this.prepareTxsBeforeSending([order]);
// For now, we assume that the same method will be used for both signing transactions and orders.
const signedOrder: any = (await this.web3Provider.send('zkSync_signBatch', preparedOrder))[0];
const signedOrder: any = (await this.web3Provider.send('zkSync_signBatch', [preparedOrder]))[0];

// Sanity check
if (!signedOrder['signature']) {
Expand Down

0 comments on commit 6154d45

Please sign in to comment.