Browse Source

fix: network.height() is a function

master
ThomasV 12 years ago
parent
commit
12e9f49042
  1. 2
      lib/wallet.py

2
lib/wallet.py

@ -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')

Loading…
Cancel
Save