diff --git a/lib/wallet.py b/lib/wallet.py index 751ed0326..81a0b16f0 100644 --- a/lib/wallet.py +++ b/lib/wallet.py @@ -537,7 +537,7 @@ class Abstract_Wallet(PrintError): for addr in domain: utxos = self.get_addr_utxo(addr) for x in utxos: - if x['coinbase'] and x['tx_height'] + COINBASE_MATURITY > self.get_local_height(): + if x['coinbase'] and x['height'] + COINBASE_MATURITY > self.get_local_height(): continue coins.append(x) continue