mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
loop: integrate the probe api with loop-in quote
In this commit we add a call to the new probe endpoint directly into the loop-in quote call. Furthermore we add an option to include private channels in the loopin swap payment request. This is also useful for when users quote/probe directly using the client API and specify hop hints.
This commit is contained in:
parent
f786aaa016
commit
0e7ed91d5d
8 changed files with 368 additions and 311 deletions
|
|
@ -565,6 +565,7 @@ func (s *Client) LoopInQuote(ctx context.Context,
|
|||
|
||||
quote, err := s.Server.GetLoopInQuote(
|
||||
ctx, request.Amount, s.lndServices.NodePubkey, request.LastHop,
|
||||
request.RouteHints,
|
||||
)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue