mirror of
https://github.com/LBRYFoundation/lbry-sdk.git
synced 2025-08-30 08:51:27 +00:00
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):
|
async def update_account(self, account: baseaccount.BaseAccount):
|
||||||
await account.ensure_address_gap()
|
await account.ensure_address_gap()
|
||||||
addresses = await account.get_addresses(used_times=0)
|
addresses = await account.get_addresses()
|
||||||
while addresses:
|
while addresses:
|
||||||
await asyncio.gather(*(self.subscribe_history(a) for a in addresses))
|
await asyncio.gather(*(self.subscribe_history(a) for a in addresses))
|
||||||
addresses = await account.ensure_address_gap()
|
addresses = await account.ensure_address_gap()
|
||||||
|
|
Loading…
Add table
Reference in a new issue