|
|
@ -73,6 +73,7 @@ var loopOutCommand = cli.Command{
|
|
|
|
"Not setting this flag therefore might " +
|
|
|
|
"Not setting this flag therefore might " +
|
|
|
|
"result in a lower swap fee.",
|
|
|
|
"result in a lower swap fee.",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
forceFlag,
|
|
|
|
labelFlag,
|
|
|
|
labelFlag,
|
|
|
|
verboseFlag,
|
|
|
|
verboseFlag,
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -176,12 +177,16 @@ func loopOut(ctx *cli.Context) error {
|
|
|
|
ctx.Int64("max_swap_routing_fee"),
|
|
|
|
ctx.Int64("max_swap_routing_fee"),
|
|
|
|
)
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Skip showing details if configured
|
|
|
|
|
|
|
|
if !(ctx.Bool("force") || ctx.Bool("f")) {
|
|
|
|
err = displayOutDetails(
|
|
|
|
err = displayOutDetails(
|
|
|
|
limits, warning, quoteReq, quote, ctx.Bool("verbose"),
|
|
|
|
limits, warning, quoteReq, quote, ctx.Bool("verbose"),
|
|
|
|
)
|
|
|
|
)
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
resp, err := client.LoopOut(context.Background(), &looprpc.LoopOutRequest{
|
|
|
|
resp, err := client.LoopOut(context.Background(), &looprpc.LoopOutRequest{
|
|
|
|
Amt: int64(amt),
|
|
|
|
Amt: int64(amt),
|
|
|
|