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:
|
||||
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
|
||||
else:
|
||||
raise Exception(
|
||||
|
|
Loading…
Reference in a new issue