mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
looprpc: update to new server protos
We update to new set of server protos where new Terms calls are added. Here static information will be returned from the server. We no longer have a feebase+feerate, but get a final fee directly returned by the server.
This commit is contained in:
parent
0cff92d265
commit
0023d1a0da
8 changed files with 470 additions and 139 deletions
|
|
@ -267,9 +267,11 @@ func (s *swapClientServer) LoopOutQuote(ctx context.Context,
|
|||
}
|
||||
|
||||
return &looprpc.QuoteResponse{
|
||||
MinerFee: int64(quote.MinerFee),
|
||||
PrepayAmt: int64(quote.PrepayAmount),
|
||||
SwapFee: int64(quote.SwapFee),
|
||||
MinerFee: int64(quote.MinerFee),
|
||||
PrepayAmt: int64(quote.PrepayAmount),
|
||||
SwapFee: int64(quote.SwapFee),
|
||||
SwapPaymentDest: quote.SwapPaymentDest[:],
|
||||
CltvDelta: quote.CltvDelta,
|
||||
}, nil
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue