Skip to content

Commit

Permalink
fixed issue in last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
pk910 committed Jul 8, 2023
1 parent 9bc7dba commit 1944735
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/funding-tool.js
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ async function processFundingBatch(batch) {
callData = distributor.contract.methods.distributeGwei(addrs, batch.map((e) => e.amount / 1000000000n)).encodeABI();
} else {
// use distribute(bytes calldata addrs, uint256[] calldata values)
callData = distributor.contract.methods.distributeGwei(addrs, batch.map((e) => e.amount)).encodeABI();
callData = distributor.contract.methods.distribute(addrs, batch.map((e) => e.amount)).encodeABI();
}

var nonce = wallet.nonce;
Expand Down

0 comments on commit 1944735

Please sign in to comment.