cmd/lncli: fix linter issues after contributor PR [skip ci]

This commit is contained in:
Oliver Gugger 2022-04-11 17:59:26 +02:00
parent 65dc3ef8a6
commit e13e5f874f
No known key found for this signature in database
GPG Key ID: 8E4256593F177720

View File

@ -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")
}