From f2c9fb8a68f3926e50386209462ea673429feaf3 Mon Sep 17 00:00:00 2001 From: Slyghtning Date: Thu, 6 Jun 2024 15:26:34 +0200 Subject: [PATCH] swapserverrpc: fix ServerLoopInQuoteRequest comments --- swapserverrpc/server.pb.go | 9 ++++----- swapserverrpc/server.proto | 9 ++++----- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/swapserverrpc/server.pb.go b/swapserverrpc/server.pb.go index bc31c018..ec9aded8 100644 --- a/swapserverrpc/server.pb.go +++ b/swapserverrpc/server.pb.go @@ -1216,11 +1216,10 @@ type ServerLoopInQuoteRequest struct { // loopd/v0.10.0-beta/commit=3b635821 // litd/v0.2.0-alpha/commit=326d754 UserAgent string `protobuf:"bytes,6,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"` - // If this is a quote request for a static address loop in, this value - // defines the number of static address deposits that the client wants to - // quote for. The amount of the quote reflects the sum of all deposits. The - // number of deposits here is taken into consideration for the total swap - // fee. + // The number of static address deposits the client wants to quote for. + // If the number of deposits exceeds one the server will apply a per-input + // service fee. This is to cover for the increased on-chain fee the server + // has to pay when the sweeping transaction is broadcast. NumStaticAddressDeposits uint32 `protobuf:"varint,7,opt,name=num_static_address_deposits,json=numStaticAddressDeposits,proto3" json:"num_static_address_deposits,omitempty"` } diff --git a/swapserverrpc/server.proto b/swapserverrpc/server.proto index 9dfc5f97..a68f1bd4 100644 --- a/swapserverrpc/server.proto +++ b/swapserverrpc/server.proto @@ -289,11 +289,10 @@ message ServerLoopInQuoteRequest { // litd/v0.2.0-alpha/commit=326d754 string user_agent = 6; - // If this is a quote request for a static address loop in, this value - // defines the number of static address deposits that the client wants to - // quote for. The amount of the quote reflects the sum of all deposits. The - // number of deposits here is taken into consideration for the total swap - // fee. + // The number of static address deposits the client wants to quote for. + // If the number of deposits exceeds one the server will apply a per-input + // service fee. This is to cover for the increased on-chain fee the server + // has to pay when the sweeping transaction is broadcast. uint32 num_static_address_deposits = 7; }