fix: network.height() is a function
This commit is contained in:
@@ -1101,7 +1101,7 @@ class NewWallet:
|
|||||||
inputs = []
|
inputs = []
|
||||||
|
|
||||||
for item in coins:
|
for item in coins:
|
||||||
if item.get('coinbase') and item.get('height') + COINBASE_MATURITY > self.network.blockchain.height:
|
if item.get('coinbase') and item.get('height') + COINBASE_MATURITY > self.network.blockchain.height():
|
||||||
continue
|
continue
|
||||||
addr = item.get('address')
|
addr = item.get('address')
|
||||||
v = item.get('value')
|
v = item.get('value')
|
||||||
|
|||||||
Reference in New Issue
Block a user