mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-12-05 10:21:20 +01:00
cmd/lncli: exit if user opts to not recover SCB files
This commit is contained in:
@@ -1452,8 +1452,8 @@ func create(ctx *cli.Context) error {
|
|||||||
restoreSCB = true
|
restoreSCB = true
|
||||||
break warningLoop
|
break warningLoop
|
||||||
case "n":
|
case "n":
|
||||||
restoreSCB = false
|
fmt.Println("Aborting SCB recovery")
|
||||||
break warningLoop
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user