mirror of
https://git.wownero.com/lza_menace/wownero-python.git
synced 2024-08-15 03:25:25 +00:00
Add compatibility to old transactions
This commit is contained in:
parent
6a8c4e8cd7
commit
ae32ca0f0e
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ class JSONRPCDaemon(object):
|
|||
txs = []
|
||||
for tx in res.get('txs', []):
|
||||
as_json = json.loads(tx['as_json'])
|
||||
fee = as_json['rct_signatures'].get('txnFee')
|
||||
fee = as_json.get('rct_signatures', {}).get('txnFee')
|
||||
txs.append(Transaction(
|
||||
hash=tx['tx_hash'],
|
||||
fee=from_atomic(fee) if fee else None,
|
||||
|
|
Loading…
Reference in a new issue