From 4c6bfd592b504f3f3e983382a80040b719e271d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Sa=C5=82aban?= Date: Sat, 25 Jan 2020 01:29:43 +0100 Subject: [PATCH] Load full content into Transaction from mempool --- monero/backends/jsonrpc.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/monero/backends/jsonrpc.py b/monero/backends/jsonrpc.py index 1168b70..6d75dec 100644 --- a/monero/backends/jsonrpc.py +++ b/monero/backends/jsonrpc.py @@ -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