Load full content into Transaction from mempool

This commit is contained in:
Michał Sałaban 2020-01-25 01:29:43 +01:00
parent c6256fe4e1
commit 4c6bfd592b
1 changed files with 2 additions and 0 deletions

View File

@ -83,6 +83,8 @@ class JSONRPCDaemon(object):
hash=tx['id_hash'],
fee=from_atomic(tx['fee']),
timestamp=datetime.fromtimestamp(tx['receive_time']),
blob=binascii.unhexlify(tx['tx_blob']),
json=json.loads(tx['tx_json']),
confirmations=0))
return txs