mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 09:53:54 +01:00
cmd/lncli: fix linter issues after contributor PR [skip ci]
This commit is contained in:
parent
65dc3ef8a6
commit
e13e5f874f
@ -101,10 +101,10 @@ func actionDecorator(f func(*cli.Context) error) func(*cli.Context) error {
|
||||
// two commands.
|
||||
if s.Code() == codes.Unimplemented &&
|
||||
(c.Command.Name == "create" ||
|
||||
c.Command.Name == "unlock" ||
|
||||
c.Command.Name == "unlock" ||
|
||||
c.Command.Name == "changepassword" ||
|
||||
c.Command.Name == "createwatchonly") {
|
||||
|
||||
|
||||
return fmt.Errorf("Wallet is already unlocked")
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user