@@ -485,6 +485,12 @@ var staticAddressLoopInCommand = cli.Command{
485
485
"is change it is sent back to the static " +
486
486
"address." ,
487
487
},
488
+ cli.BoolFlag {
489
+ Name : "fast" ,
490
+ Usage : "expedited publishing of the change output if " +
491
+ "the swap creates one. This results in a " +
492
+ "higher swap fee." ,
493
+ },
488
494
lastHopFlag ,
489
495
labelFlag ,
490
496
routeHintsFlag ,
@@ -573,7 +579,8 @@ func staticAddressLoopIn(ctx *cli.Context) error {
573
579
depositOutpoints = ctx .StringSlice ("utxo" )
574
580
575
581
case selectedAmount > 0 :
576
- // If only an amount is selected we will trigger coin selection.
582
+ // If only an amount is selected, we will trigger coin
583
+ // selection.
577
584
578
585
default :
579
586
return fmt .Errorf ("unknown quote request" )
@@ -594,6 +601,7 @@ func staticAddressLoopIn(ctx *cli.Context) error {
594
601
Private : ctx .Bool (privateFlag .Name ),
595
602
DepositOutpoints : depositOutpoints ,
596
603
AutoSelectDeposits : autoSelectDepositsForQuote ,
604
+ Fast : ctx .Bool ("fast" ),
597
605
}
598
606
quote , err := client .GetLoopInQuote (ctxb , quoteReq )
599
607
if err != nil {
@@ -623,6 +631,7 @@ func staticAddressLoopIn(ctx *cli.Context) error {
623
631
RouteHints : hints ,
624
632
Private : ctx .Bool ("private" ),
625
633
PaymentTimeoutSeconds : paymentTimeoutSeconds ,
634
+ Fast : ctx .Bool ("fast" ),
626
635
}
627
636
628
637
resp , err := client .StaticAddressLoopIn (ctxb , req )
0 commit comments