Skip to content

Commit

Permalink
convert eth_getRawTransaction values to hex
Browse files Browse the repository at this point in the history
  • Loading branch information
rmi7 committed Sep 23, 2021
1 parent 32e48e2 commit 2ee7969
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions etheno/jsonrpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ def decode_raw_tx(raw_tx: str):
'from': from_,
'to': to,
'nonce': tx.nonce,
'gas': tx.gas,
'gasPrice': tx.gas_price,
'value': tx.value,
'gas': hex(tx.gas),
'gasPrice': hex(tx.gas_price),
'value': hex(tx.value),
'data': data,
'chainId': chain_id,
'r': r,
Expand Down

0 comments on commit 2ee7969

Please sign in to comment.