mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-27 02:02:53 +01:00
This commit adds a decorator that will inspect the error from an command action, and prints an encrypted wallet help text if the error has status code Unimplemented. This is done to help a user that is trying to issue lncli commands before unlocking the wallet, since the RPC server won't be active and every call will return this status code.