From a5a0089daaec9b0bda1742f79dd494d7fb6fd690 Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Thu, 25 Oct 2018 18:46:32 -0300 Subject: [PATCH] fix subscribe --- torba/baseledger.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torba/baseledger.py b/torba/baseledger.py index c22df65dc..03f8e2947 100644 --- a/torba/baseledger.py +++ b/torba/baseledger.py @@ -307,7 +307,7 @@ class BaseLedger(metaclass=LedgerRegistry): async def update_account(self, account: baseaccount.BaseAccount): await account.ensure_address_gap() - addresses = await account.get_addresses(used_times=0) + addresses = await account.get_addresses() while addresses: await asyncio.gather(*(self.subscribe_history(a) for a in addresses)) addresses = await account.ensure_address_gap()