mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
utils: refactor SelectHopHints to use narrower interface
This commit is contained in:
parent
3b3d3ac64f
commit
5b797055f8
3 changed files with 16 additions and 16 deletions
|
|
@ -111,8 +111,8 @@ func newLoopInSwap(globalCtx context.Context, cfg *swapConfig,
|
|||
// Because the Private flag is set, we'll generate our own set
|
||||
// of hop hints.
|
||||
request.RouteHints, err = SelectHopHints(
|
||||
globalCtx, cfg.lnd, request.Amount, DefaultMaxHopHints,
|
||||
includeNodes,
|
||||
globalCtx, cfg.lnd.Client, request.Amount,
|
||||
DefaultMaxHopHints, includeNodes,
|
||||
)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue