cmd/lncli: fix linter issues after contributor PR [skip ci]
This commit is contained in:
1 file changed
+2
-2
@@ -101,10 +101,10 @@ func actionDecorator(f func(*cli.Context) error) func(*cli.Context) error {
|
|||||||
// two commands.
|
// two commands.
|
||||||
if s.Code() == codes.Unimplemented &&
|
if s.Code() == codes.Unimplemented &&
|
||||||
(c.Command.Name == "create" ||
|
(c.Command.Name == "create" ||
|
||||||
c.Command.Name == "unlock" ||
|
c.Command.Name == "unlock" ||
|
||||||
c.Command.Name == "changepassword" ||
|
c.Command.Name == "changepassword" ||
|
||||||
c.Command.Name == "createwatchonly") {
|
c.Command.Name == "createwatchonly") {
|
||||||
|
|
||||||
return fmt.Errorf("Wallet is already unlocked")
|
return fmt.Errorf("Wallet is already unlocked")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user