Browse Source

fix: height()

283
thomasv 12 years ago
parent
commit
dfb2d12602
  1. 2
      lib/wallet.py

2
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

Loading…
Cancel
Save