tfix: height() - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit dfb2d12602f2f44caf2e43819cdd97c6797a8153
DIR parent 116b10cc11addb497a4e0be76459412c85127784
HTML Author: thomasv <thomasv@gitorious>
Date: Thu, 10 Oct 2013 10:01:44 +0200
fix: height()
Diffstat:
M lib/wallet.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/lib/wallet.py b/lib/wallet.py
t@@ -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