forked from LBRYCommunity/lbry-sdk
fix subscribe
This commit is contained in:
parent
82c71e4255
commit
a5a0089daa
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue