Skip to content

Commit

Permalink
imp: return tx hash from settle
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Mucha <jakub.mucha@icloud.com>
  • Loading branch information
drptbl committed Dec 12, 2020
1 parent 0f8d1c0 commit 7ede751
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/synthetix.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ module.exports = {
const txn = await snxjs.Synthetix.settle(assetAsBytes32);
console.log(`Settle executed: ${txn.hash}`);
await txn.wait();
return true;
return txn.hash;
},
};

0 comments on commit 7ede751

Please sign in to comment.