commit c9d403cb7b455d861759989f7ae791c2e8da333d
parent 90ce9f195b97978becdabd62e618dda9b8daba42
Author: ThomasV <thomasv@electrum.org>
Date: Mon, 14 Oct 2019 10:39:52 +0200
minor: callback unknown_channels (follow-up 0966edc637ba927ea6767b44aa937b0ca7805dd7)
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/electrum/lnworker.py b/electrum/lnworker.py
@@ -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):