From 12e9f490429054f25187fa0adc4dc1323f100655 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Tue, 4 Mar 2014 14:32:52 +0100 Subject: [PATCH] fix: network.height() is a function --- lib/wallet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')