From 191ed8cc051f79f0de01dcdfcc6a4e06ab36c765 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Tue, 8 Nov 2016 16:59:15 +0100 Subject: [PATCH] fix #2027 --- lib/wallet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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