mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 17:31:36 +00:00
fix: height()
This commit is contained in:
parent
116b10cc11
commit
dfb2d12602
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue