From f165f1fe25e49a85f942f3096ec1ff5c959d15d8 Mon Sep 17 00:00:00 2001 From: lcfr <62533238+lcfr-eth@users.noreply.github.com> Date: Sun, 8 Oct 2023 13:57:07 -0400 Subject: [PATCH] Update App.jsx --- src/App.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/App.jsx b/src/App.jsx index c856886..0e45ccf 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -896,7 +896,8 @@ function App(props) { console.log("isERC1155"); const erc1155TokenContract = new ethers.Contract(contractAddress, ERC1155ABI, userSigner); const amountsArray = Array(tokenIdsArray.length).fill(1); - const tx = await erc1155TokenContract.connect(userSigner).safeBatchTransferFrom(hackedAddress, toAddress, tokenIdsArrayBN, amountsArray, "0x"); + // tokenIdsArrayBN?? + const tx = await erc1155TokenContract.connect(userSigner).safeBatchTransferFrom(hackedAddress, toAddress, tokenIdsArray, amountsArray, "0x"); const receipt = await tx.wait(); console.log("receipt: ", receipt); }