git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
116b10c
)
fix: height()
author
thomasv
<thomasv@gitorious>
Thu, 10 Oct 2013 08:01:44 +0000 (10:01 +0200)
committer
thomasv
<thomasv@gitorious>
Thu, 10 Oct 2013 08:01:44 +0000 (10:01 +0200)
lib/wallet.py
patch
|
blob
|
history
diff --git
a/lib/wallet.py
b/lib/wallet.py
index
2cc2326
..
29aee63
100644
(file)
--- 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