cic-eth: Revert number as hex in tx-cache

This commit is contained in:
Louis Holbrook
2021-02-17 08:30:10 +00:00
parent fa83c50ab5
commit 500f0c3a41
7 changed files with 19 additions and 36 deletions

View File

@@ -378,7 +378,6 @@ def get_tx_cache(tx_hash):
session.close()
values = txc.values()
tx = {
'tx_hash': otx.tx_hash,
'signed_tx': otx.signed_tx,
@@ -389,8 +388,8 @@ def get_tx_cache(tx_hash):
'destination_token': txc.destination_token_address,
'sender': txc.sender,
'recipient': txc.recipient,
'from_value': values[0],
'to_value': values[1],
'from_value': int(txc.from_value),
'to_value': int(txc.to_value),
'date_created': txc.date_created,
'date_updated': txc.date_updated,
'date_checked': txc.date_checked,