forked from LBRYCommunity/lbry-sdk
fix stuck notification due to mempool/notification race
This commit is contained in:
parent
be544d6d89
commit
9a8f9f0a94
1 changed files with 1 additions and 1 deletions
|
@ -750,7 +750,7 @@ class Ledger(metaclass=LedgerRegistry):
|
|||
))[1] if record['history'] else []
|
||||
for txid, local_height in local_history:
|
||||
if txid == tx.id:
|
||||
if local_height >= height:
|
||||
if local_height >= height or (local_height == 0 and height > local_height):
|
||||
return True
|
||||
log.warning(
|
||||
"local history has higher height than remote for %s (%i vs %i)", txid,
|
||||
|
|
Loading…
Add table
Reference in a new issue