From 1beb13dd804866233a84369aa4570f2b211c25d4 Mon Sep 17 00:00:00 2001 From: Jack Robison Date: Thu, 4 Jun 2020 09:30:42 -0400 Subject: [PATCH] fix attribute error --- lbry/wallet/network.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lbry/wallet/network.py b/lbry/wallet/network.py index a315e52a8..92793e9ca 100644 --- a/lbry/wallet/network.py +++ b/lbry/wallet/network.py @@ -284,12 +284,13 @@ class Network: async def subscribe_address(self, address, *addresses): addresses = list((address, ) + addresses) + server_addr_and_port = self.client.server_address_and_port # on disconnect client will be None try: return await self.rpc('blockchain.address.subscribe', addresses, True) except asyncio.TimeoutError: log.warning( "timed out subscribing to addresses from %s:%i", - *self.client.server_address_and_port + *server_addr_and_port ) # abort and cancel, we can't lose a subscription, it will happen again on reconnect if self.client: