Skip to content

Commit

Permalink
nonce radix in formatter should be 10 but was 16.
Browse files Browse the repository at this point in the history
  • Loading branch information
robertlincecum authored and rileystephens28 committed Jun 25, 2024
1 parent 811ea8d commit 3abcc46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/format.ts
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ export function formatTransactionResponse(value: any): TransactionResponseParams
gasLimit: allowNull((value: any) => (value ? BigInt(value) : null), null),
to: allowNull(getAddress, null),
value: allowNull((value: any) => (value ? BigInt(value) : null), null),
nonce: allowNull((value: any) => (value ? parseInt(value, 16) : null), null),
nonce: allowNull((value: any) => (value ? parseInt(value, 10) : null), null),
creates: allowNull(getAddress, null),
chainId: allowNull((value: any) => (value ? BigInt(value) : null), null),
data: (value: any) => value,
Expand Down

0 comments on commit 3abcc46

Please sign in to comment.