File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -57,10 +57,12 @@ class LoopApi extends BaseApi<LoopEvents> {
57
57
async getLoopInQuote (
58
58
amount : Big ,
59
59
confTarget ?: number ,
60
+ lastHop ?: string ,
60
61
) : Promise < LOOP . InQuoteResponse . AsObject > {
61
62
const req = new LOOP . QuoteRequest ( ) ;
62
63
req . setAmt ( amount . toString ( ) ) ;
63
64
if ( confTarget ) req . setConfTarget ( confTarget ) ;
65
+ if ( lastHop ) req . setLoopInLastHop ( b64 ( lastHop ) ) ;
64
66
const res = await this . _grpc . request ( SwapClient . GetLoopInQuote , req , this . _meta ) ;
65
67
return res . toObject ( ) ;
66
68
}
Original file line number Diff line number Diff line change @@ -426,6 +426,7 @@ class BuildSwapView {
426
426
const inQuote = await this . _store . api . loop . getLoopInQuote (
427
427
amount ,
428
428
this . confTarget ,
429
+ this . loopInLastHop ,
429
430
) ;
430
431
quote = {
431
432
swapFee : Big ( inQuote . swapFeeSat ) ,
Original file line number Diff line number Diff line change 16
16
17
17
### Bug Fixes
18
18
19
+ * [ Add ` lastHop ` parameter for Loop In
20
+ quotes] ( https://github.com/lightninglabs/lightning-terminal/pull/920 ) .
21
+ Fixes fee estimation bug when using Loop In for a specific channel.
22
+
19
23
### Functional Changes/Additions
20
24
21
25
### Technical and Architectural Updates
36
40
37
41
### Pool
38
42
39
- ### Faraday
43
+ ### Faradayaa
40
44
41
45
* The integrated ` faraday ` instance was
42
46
[ updated] ( https://github.com/lightninglabs/lightning-terminal/pull/952 ) to
55
59
* Elle Mouton
56
60
* jiangmencity
57
61
* Oliver Gugger
62
+ * Rachel Fish
58
63
* Tristav
59
- * zhoufanjin
64
+ * zhoufanjin
You can’t perform that action at this time.
0 commit comments