looprpc: rename assetamt to max amt

This commit is contained in:
sputn1ck 2025-01-22 09:59:03 +01:00
parent 9d49804429
commit fddad8a964
No known key found for this signature in database
GPG key ID: 671103D881A5F0E4
7 changed files with 300 additions and 295 deletions

View file

@ -802,11 +802,11 @@ func (s *swapClientServer) LoopOutQuote(ctx context.Context,
if quote.LoopOutRfq != nil {
response.AssetRfqInfo = &looprpc.AssetRfqInfo{
PrepayRfqId: quote.LoopOutRfq.PrepayRfqId,
PrepayAssetAmt: quote.LoopOutRfq.PrepayAssetAmt,
SwapRfqId: quote.LoopOutRfq.SwapRfqId,
SwapAssetAmt: quote.LoopOutRfq.SwapAssetAmt,
AssetName: quote.LoopOutRfq.AssetName,
PrepayRfqId: quote.LoopOutRfq.PrepayRfqId,
MaxPrepayAssetAmt: quote.LoopOutRfq.MaxPrepayAssetAmt,
SwapRfqId: quote.LoopOutRfq.SwapRfqId,
MaxSwapAssetAmt: quote.LoopOutRfq.MaxSwapAssetAmt,
AssetName: quote.LoopOutRfq.AssetName,
}
}