Don't use unusual names
This commit is contained in:
parent
605743325c
commit
4e9284c064
|
@ -66,7 +66,7 @@ class JSONRPC(object):
|
||||||
def _pythonify_payment(self, pm):
|
def _pythonify_payment(self, pm):
|
||||||
return {
|
return {
|
||||||
'id': pm['txid'],
|
'id': pm['txid'],
|
||||||
'when': datetime.fromtimestamp(pm['timestamp']),
|
'timestamp': datetime.fromtimestamp(pm['timestamp']),
|
||||||
'amount': from_atomic(pm['amount']),
|
'amount': from_atomic(pm['amount']),
|
||||||
'fee': from_atomic(pm['fee']),
|
'fee': from_atomic(pm['fee']),
|
||||||
'height': pm['height'],
|
'height': pm['height'],
|
||||||
|
|
Loading…
Reference in New Issue