Skip to content

Commit

Permalink
Change null to 0x
Browse files Browse the repository at this point in the history
Signed-off-by: Major <[email protected]>
Signed-off-by: Major <[email protected]>
  • Loading branch information
sergioaiobuilders committed Feb 17, 2023
1 parent 259b3cc commit 47cfb52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/relay/src/lib/eth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1065,7 +1065,7 @@ export class EthImpl implements Eth {
to: contractResult.to?.substring(0, 42),
transactionIndex: EthImpl.numberTo0x(contractResult.transaction_index),
type: EthImpl.nullableNumberTo0x(contractResult.type),
v: EthImpl.nullableNumberTo0x(contractResult.v),
v: EthImpl.nanOrNumberTo0x(contractResult.v),
value: EthImpl.nanOrNumberTo0x(contractResult.amount),
});
}
Expand Down Expand Up @@ -1346,7 +1346,7 @@ export class EthImpl implements Eth {
to: contractResultDetails.to.substring(0, 42),
transactionIndex: EthImpl.numberTo0x(contractResultDetails.transaction_index),
type: EthImpl.nullableNumberTo0x(contractResultDetails.type),
v: EthImpl.nullableNumberTo0x(contractResultDetails.v),
v: EthImpl.nanOrNumberTo0x(contractResultDetails.v),
value: EthImpl.nanOrNumberTo0x(contractResultDetails.amount),
});
}
Expand Down

0 comments on commit 47cfb52

Please sign in to comment.