fix: height()
authorthomasv <thomasv@gitorious>
Thu, 10 Oct 2013 08:01:44 +0000 (10:01 +0200)
committerthomasv <thomasv@gitorious>
Thu, 10 Oct 2013 08:01:44 +0000 (10:01 +0200)
lib/wallet.py

index 2cc2326..29aee63 100644 (file)
@@ -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