Skip to content

Commit

Permalink
chore: fix collectGas arg passing
Browse files Browse the repository at this point in the history
  • Loading branch information
npty committed Aug 4, 2024
1 parent 144d15a commit a7e8b7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sui/operators.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ if (require.main === module) {
.addOption(new Option('--receiver <receiver>', 'Address of the receiver'))
.requiredOption('--amount <amount>', 'Amount to add gas', parseSuiUnitAmount)
.addOption(new Option('--capId <capId>', 'ID of the GasCollectorCap to borrow'))
.action((receiver, options) => mainProcessor(collectGas, [receiver, options.amount], options));
.action((options) => mainProcessor(collectGas, [options.amount], options));

const storeCapCmd = new Command('storeCap')
.command('storeCap')
Expand Down

0 comments on commit a7e8b7d

Please sign in to comment.