fix: synchronize generated duplicated addresses
This commit is contained in:
@@ -665,7 +665,7 @@ class Wallet:
|
||||
if tx_height == 0:
|
||||
tx_age = 0
|
||||
else:
|
||||
tx_age = self.verifier.height - tx_height + 1
|
||||
tx_age = self.verifier.blockchain.height - tx_height + 1
|
||||
if tx_age > age:
|
||||
age = tx_age
|
||||
return age > 2
|
||||
|
||||
Reference in New Issue
Block a user