mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
cmd/loop: remove orphan flag access
abandonSwap used to access flag --id which does not exist.
This commit is contained in:
parent
61945bd9f9
commit
3182be8bf1
1 changed files with 0 additions and 3 deletions
|
|
@ -206,9 +206,6 @@ func abandonSwap(ctx context.Context, cmd *cli.Command) error {
|
|||
|
||||
var id string
|
||||
switch {
|
||||
case cmd.IsSet("id"):
|
||||
id = cmd.String("id")
|
||||
|
||||
case cmd.NArg() > 0:
|
||||
id = args.First()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue