mmnode-feeview: support Bitcoin Core 23.0
This commit is contained in:
parent
3d62ff8211
commit
251660e3fe
2 changed files with 2 additions and 2 deletions
|
|
@ -1 +1 @@
|
|||
3.1.dev1
|
||||
3.1.dev2
|
||||
|
|
|
|||
|
|
@ -117,7 +117,7 @@ def create_data(coin_amt,mempool):
|
|||
|
||||
# populate fee brackets:
|
||||
for tx in mempool.values():
|
||||
fee = coin_amt(tx['fee']).to_unit('satoshi')
|
||||
fee = coin_amt(tx['fees']['base']).to_unit('satoshi')
|
||||
vsize = tx['vsize']
|
||||
for bracket in out:
|
||||
if fee / vsize < bracket.top:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue