diff --git a/lib/wallet.py b/lib/wallet.py index b3d9d92d..9eff1086 100644 --- a/lib/wallet.py +++ b/lib/wallet.py @@ -1101,7 +1101,7 @@ class NewWallet: inputs = [] 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 addr = item.get('address') v = item.get('value')