mirror of
https://github.com/aljazceru/breez-lnd.git
synced 2025-12-18 06:34:27 +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.