fix param

enumerate
lza_menace 2 years ago
parent d10637e9d1
commit f0400f5a07

@ -172,7 +172,7 @@
if (isERC1155) {
let {new_addr, new_token, new_amount} = deriveTokenTotals(recipients, tokens);
for (let i = 0; i < new_addr.length; i++) {
await $contracts.nft.methods.safeTransferFrom($selectedAccount, new_addr[i], new_token[i], new_amount[i], "").estimateGas({from: $selectedAccount}, function(err, gas){
await $contracts.nft.methods.safeTransferFrom($selectedAccount, new_addr[i], new_token[i], new_amount[i], 0x0).estimateGas({from: $selectedAccount}, function(err, gas){
gasLimit += gas;
});
}

Loading…
Cancel
Save