-
Notifications
You must be signed in to change notification settings - Fork 109
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Expected behavior / Actual behavior
A loop cli quote for my WOS loop in of 350k sat @ 6 conf_target is giving 177 sats for service fee, while terminal is giving 5 sats. Looks like the discrepancy is that last hop pubkey isn't being set for the quote, which in turn means the subsequent loopIn will likely fail if that node is more expensive than a quote that doesn't specify a node to loop in to.
Here we would want to use loopInLastHop:
lightning-terminal/app/src/store/views/buildSwapView.ts
Lines 426 to 428 in 9ad3f06
| const inQuote = await this._store.api.loop.getLoopInQuote( | |
| amount, | |
| this.confTarget, |
Also would want a new param here for passing in that hop if it's specified:
lightning-terminal/app/src/api/loop.ts
Line 57 in 9ad3f06
| async getLoopInQuote( |
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working