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:
Johan T. Halseth 2019-10-08 22:28:20 +02:00
parent 0cff92d265
commit 0023d1a0da
No known key found for this signature in database
GPG key ID: 15BAADA29DA20D26
8 changed files with 470 additions and 139 deletions

View file

@ -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
}