@@ -82,7 +82,8 @@ type swapServerClient interface {
82
82
GetLoopInQuote (ctx context.Context , amt btcutil.Amount ,
83
83
pubKey route.Vertex , lastHop * route.Vertex ,
84
84
routeHints [][]zpay32.HopHint ,
85
- initiator string , numDeposits uint32 ) (* LoopInQuote , error )
85
+ initiator string , numDeposits uint32 ,
86
+ fast bool ) (* LoopInQuote , error )
86
87
87
88
Probe (ctx context.Context , amt btcutil.Amount , target route.Vertex ,
88
89
lastHop * route.Vertex , routeHints [][]zpay32.HopHint ) error
@@ -269,7 +270,7 @@ func (s *grpcSwapServerClient) GetLoopInTerms(ctx context.Context,
269
270
func (s * grpcSwapServerClient ) GetLoopInQuote (ctx context.Context ,
270
271
amt btcutil.Amount , pubKey route.Vertex , lastHop * route.Vertex ,
271
272
routeHints [][]zpay32.HopHint , initiator string ,
272
- numDeposits uint32 ) (* LoopInQuote , error ) {
273
+ numDeposits uint32 , fast bool ) (* LoopInQuote , error ) {
273
274
274
275
err := s .Probe (ctx , amt , pubKey , lastHop , routeHints )
275
276
if err != nil && status .Code (err ) != codes .Unavailable {
@@ -285,6 +286,7 @@ func (s *grpcSwapServerClient) GetLoopInQuote(ctx context.Context,
285
286
Pubkey : pubKey [:],
286
287
UserAgent : UserAgent (initiator ),
287
288
NumStaticAddressDeposits : numDeposits ,
289
+ Fast : fast ,
288
290
}
289
291
290
292
if lastHop != nil {
0 commit comments