mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
minor: callback unknown_channels (follow-up 0966edc637
)
This commit is contained in:
parent
90ce9f195b
commit
c9d403cb7b
1 changed files with 1 additions and 0 deletions
|
@ -299,6 +299,7 @@ class LNGossip(LNWorker):
|
|||
N = 500
|
||||
l = list(self.unknown_ids)
|
||||
self.unknown_ids = set(l[N:])
|
||||
self.network.trigger_callback('unknown_channels', len(self.unknown_ids))
|
||||
return l[0:N]
|
||||
|
||||
def peer_closed(self, peer):
|
||||
|
|
Loading…
Add table
Reference in a new issue