mirror of
https://git.wownero.com/lza_menace/wownero-python.git
synced 2024-08-15 03:25:25 +00:00
Add comparison handling to Block, fix reward type
This commit is contained in:
parent
1b503fd0ab
commit
c6256fe4e1
5 changed files with 83 additions and 6 deletions
|
@ -115,7 +115,7 @@ class JSONRPCDaemon(object):
|
|||
'nonce': bhdr['nonce'],
|
||||
'orphan': bhdr['orphan_status'],
|
||||
'prev_hash': bhdr['prev_hash'],
|
||||
'reward': bhdr['reward'],
|
||||
'reward': from_atomic(bhdr['reward']),
|
||||
'transactions': self.transactions(
|
||||
[bhdr['miner_tx_hash']] + sub_json['tx_hashes']),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue