Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into ph/fixRetryTransactio…
Browse files Browse the repository at this point in the history
…nUndefined
  • Loading branch information
arcoraven committed Nov 8, 2024
2 parents 41674fc + 1ba738a commit 6729fd0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/server/schemas/transaction/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,10 @@ export const toTransactionSchema = (
toAddress: transaction.to ?? null,
data: transaction.data ?? null,
value: transaction.value.toString(),
nonce: "nonce" in transaction ? transaction.nonce : null,
nonce:
"nonce" in transaction && transaction.nonce !== undefined
? transaction.nonce
: null,
deployedContractAddress: transaction.deployedContractAddress ?? null,
deployedContractType: transaction.deployedContractType ?? null,
functionName: transaction.functionName ?? null,
Expand Down

0 comments on commit 6729fd0

Please sign in to comment.