mirror of
https://github.com/LBRYFoundation/lbry-sdk.git
synced 2025-09-02 10:15:14 +00:00
fix channel import test to wait for address subscription tasks to finish before looking up channel
This commit is contained in:
parent
f06192601c
commit
063eeb34ec
1 changed files with 1 additions and 0 deletions
|
@ -2317,6 +2317,7 @@ class Daemon(metaclass=JSONRPCServerType):
|
||||||
})
|
})
|
||||||
if self.ledger.network.is_connected:
|
if self.ledger.network.is_connected:
|
||||||
await self.ledger.subscribe_account(account)
|
await self.ledger.subscribe_account(account)
|
||||||
|
await self.ledger._update_tasks.done.wait()
|
||||||
# Case 3: the holding address has changed and we can't create or find an account for it
|
# Case 3: the holding address has changed and we can't create or find an account for it
|
||||||
else:
|
else:
|
||||||
raise Exception(
|
raise Exception(
|
||||||
|
|
Loading…
Add table
Reference in a new issue