From 4e9284c064bf248a18204ad39d5e65490db3d348 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Sa=C5=82aban?= Date: Mon, 4 Dec 2017 03:59:46 +0100 Subject: [PATCH] Don't use unusual names --- monero/backends/jsonrpc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monero/backends/jsonrpc.py b/monero/backends/jsonrpc.py index 7f85193..c4a616c 100644 --- a/monero/backends/jsonrpc.py +++ b/monero/backends/jsonrpc.py @@ -66,7 +66,7 @@ class JSONRPC(object): def _pythonify_payment(self, pm): return { 'id': pm['txid'], - 'when': datetime.fromtimestamp(pm['timestamp']), + 'timestamp': datetime.fromtimestamp(pm['timestamp']), 'amount': from_atomic(pm['amount']), 'fee': from_atomic(pm['fee']), 'height': pm['height'],