Skip to content

Commit

Permalink
set nonce to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
lykalabrada committed Oct 6, 2023
1 parent ae7d91e commit 1ed2b7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mobile-app/app/api/transaction/transfer_domain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 1ed2b7c

Please sign in to comment.