From f0400f5a07dd5e7c71e1fb28349b795d802de390 Mon Sep 17 00:00:00 2001 From: lza_menace Date: Sat, 19 Nov 2022 00:34:56 -0800 Subject: [PATCH] fix param --- src/Contracts.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Contracts.svelte b/src/Contracts.svelte index 5ac5cf8..4a743ca 100644 --- a/src/Contracts.svelte +++ b/src/Contracts.svelte @@ -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; }); }