Skip to content

Change LND unreachable case from WaitingUnlock -> Disconnected #2012

@kilrau

Description

@kilrau

Off-shoot from #2004 (comment) :

The error 24/11/2020 09:32:03.099 [LND-BTC] error: AssertionError [ERR_ASSERTION]: awaitWalletInit should not be called from a status besides Initialized or Unlocked is unrelated to this PR - I'll look into it separately. It's a bit of an edge case but I can reproduce it by setting up a new node with an enabled lnd in the config that is unreachable. It's setting the state of that lnd to WaitingUnlock when it should really be disconnected, so it tries to unlock it anyway and hits that exception.

Metadata

Metadata

Assignees

Labels

P3low prioritybugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions