Files
lnd/cmd/commands
Boris Nagaev e865552cc1 lncli unlock: wait until daemon can unlock
Use the StateService stream to wait for LOCKED before sending the unlock
request, then wait for UNLOCKED/RPC_ACTIVE before reporting success.
If the state shows the wallet is already unlocked, skip sending the
unlock request and return an error immediately.

This avoids lost unlocks during slow startup.
Fix https://github.com/lightningnetwork/lnd/issues/7749
2026-02-04 15:20:03 -05:00
..
2024-08-23 10:58:13 +02:00
2024-08-23 10:57:59 +02:00
2025-05-05 15:02:55 +02:00