From 1ed2b7c6fba8286d58f72a1f497402228c8cc095 Mon Sep 17 00:00:00 2001 From: Lyka Labrada Date: Fri, 6 Oct 2023 13:42:52 +0800 Subject: [PATCH] set nonce to 0 --- mobile-app/app/api/transaction/transfer_domain.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mobile-app/app/api/transaction/transfer_domain.ts b/mobile-app/app/api/transaction/transfer_domain.ts index 9bf6703550..3467f15b59 100644 --- a/mobile-app/app/api/transaction/transfer_domain.ts +++ b/mobile-app/app/api/transaction/transfer_domain.ts @@ -226,7 +226,7 @@ async function createSignedEvmTx({ /* TODO: Figure out CORS issue when using the ethRpc */ const tx: providers.TransactionRequest = { to: TD_CONTRACT_ADDR, - nonce: 3, // await ethRpc.getTransactionCount(from), // TODO: Remove hardcoded data + nonce: 0, // await ethRpc.getTransactionCount(from), // TODO: Remove hardcoded data chainId: 1133, // (await rpc.getNetwork()).chainId, // TODO: Remove hardcoded data data: data, value: 0,