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