diff --git a/electrum/interface.py b/electrum/interface.py index 1d165f6f0..d1e83c397 100644 --- a/electrum/interface.py +++ b/electrum/interface.py @@ -75,8 +75,8 @@ class NotificationSession(ClientSession): self.subscriptions[key].append(queue) result = self.cache[key] else: - result = await self.send_request(method, params) self.subscriptions[key] = [queue] + result = await self.send_request(method, params) self.cache[key] = result await queue.put(params + [result])