Skip to content

Commit

Permalink
bug fix on batch trx
Browse files Browse the repository at this point in the history
  • Loading branch information
joegeorge-git committed Jul 11, 2024
1 parent a463198 commit d51ac16
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "artemis-web3-adapter",
"version": "1.1.3",
"version": "1.1.4",
"description": "dfinity wallet adapter for connecting different wallets in IC",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/libs/batchTransact.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export const BatchTransaction = class BatchTransaction {
self.activeStep = self.stepsList[stepIndex];
self.state = 'error';
_this.state = 'error';
if (onFailCall) await onFailCall(data)
if (onFailCall) await onFailCall(err)
return false;
}
trxIndex++;
Expand Down

0 comments on commit d51ac16

Please sign in to comment.