Skip to content

Commit c4d46a2

Browse files
committed
looprpc: add conf_target to loop in/out quote resp
1 parent 0fa3625 commit c4d46a2

File tree

4 files changed

+211
-169
lines changed

4 files changed

+211
-169
lines changed

loopd/swapclient_server.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -426,6 +426,7 @@ func (s *swapClientServer) LoopOutQuote(ctx context.Context,
426426
PrepayAmtSat: int64(quote.PrepayAmount),
427427
SwapFeeSat: int64(quote.SwapFee),
428428
SwapPaymentDest: quote.SwapPaymentDest[:],
429+
ConfTarget: confTarget,
429430
}, nil
430431
}
431432

@@ -471,6 +472,7 @@ func (s *swapClientServer) GetLoopInQuote(ctx context.Context,
471472
return &looprpc.InQuoteResponse{
472473
HtlcPublishFeeSat: int64(quote.MinerFee),
473474
SwapFeeSat: int64(quote.SwapFee),
475+
ConfTarget: htlcConfTarget,
474476
}, nil
475477
}
476478

0 commit comments

Comments
 (0)