commit 82da581d45cd1570fa5a361681324b6cee507ab5
parent 95fa5d37c365165aaf3f7af943bb6ffc86b955d8
Author: SomberNight <somber.night@protonmail.com>
Date: Wed, 15 Apr 2020 22:47:14 +0200
lnworker: clear peer retry times if proxy settings change
maybe there were failures due to the previous proxy details being incorrect
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/electrum/lnworker.py b/electrum/lnworker.py
@@ -390,6 +390,7 @@ class LNWorker(Logger, NetworkRetryManager[LNPeerAddr]):
def on_proxy_changed(self, event, *args):
for peer in self.peers.values():
peer.close_and_cleanup()
+ self._clear_addr_retry_times()
class LNGossip(LNWorker):