From dfb2d12602f2f44caf2e43819cdd97c6797a8153 Mon Sep 17 00:00:00 2001 From: thomasv Date: Thu, 10 Oct 2013 10:01:44 +0200 Subject: [PATCH] fix: height() --- lib/wallet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/wallet.py b/lib/wallet.py index 2cc23265..29aee632 100644 --- a/lib/wallet.py +++ b/lib/wallet.py @@ -735,7 +735,7 @@ class Wallet: if tx_height == 0: tx_age = 0 else: - tx_age = self.verifier.blockchain.height - tx_height + 1 + tx_age = self.verifier.blockchain.height() - tx_height + 1 if tx_age > age: age = tx_age return age > 2