@@ -82,7 +82,8 @@ type swapServerClient interface {
8282 GetLoopInQuote (ctx context.Context , amt btcutil.Amount ,
8383 pubKey route.Vertex , lastHop * route.Vertex ,
8484 routeHints [][]zpay32.HopHint ,
85- initiator string , numDeposits uint32 ) (* LoopInQuote , error )
85+ initiator string , numDeposits uint32 ,
86+ fast bool ) (* LoopInQuote , error )
8687
8788 Probe (ctx context.Context , amt btcutil.Amount , target route.Vertex ,
8889 lastHop * route.Vertex , routeHints [][]zpay32.HopHint ) error
@@ -269,7 +270,7 @@ func (s *grpcSwapServerClient) GetLoopInTerms(ctx context.Context,
269270func (s * grpcSwapServerClient ) GetLoopInQuote (ctx context.Context ,
270271 amt btcutil.Amount , pubKey route.Vertex , lastHop * route.Vertex ,
271272 routeHints [][]zpay32.HopHint , initiator string ,
272- numDeposits uint32 ) (* LoopInQuote , error ) {
273+ numDeposits uint32 , fast bool ) (* LoopInQuote , error ) {
273274
274275 err := s .Probe (ctx , amt , pubKey , lastHop , routeHints )
275276 if err != nil && status .Code (err ) != codes .Unavailable {
@@ -285,6 +286,7 @@ func (s *grpcSwapServerClient) GetLoopInQuote(ctx context.Context,
285286 Pubkey : pubKey [:],
286287 UserAgent : UserAgent (initiator ),
287288 NumStaticAddressDeposits : numDeposits ,
289+ Fast : fast ,
288290 }
289291
290292 if lastHop != nil {
0 commit comments