tnetwork - send_subscriptions: copy subscribed_addresses before iterating - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit fa91cbf762587880fa32f51742be746cfadd3815 DIR parent 382f69edd9a27dd37744d4eac3d3c8164afc0ae4 HTML Author: SomberNight <somber.night@protonmail.com> Date: Sat, 24 Mar 2018 18:34:51 +0100 network - send_subscriptions: copy subscribed_addresses before iterating see #4146 (this should at least avoid the RuntimeError) Diffstat: M lib/network.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/lib/network.py b/lib/network.py t@@ -319,7 +319,7 @@ class Network(util.DaemonThread): self.queue_request('server.peers.subscribe', []) self.request_fee_estimates() self.queue_request('blockchain.relayfee', []) - for h in self.subscribed_addresses: + for h in list(self.subscribed_addresses): self.queue_request('blockchain.scripthash.subscribe', [h]) def request_fee_estimates(self):