From 1feca6996475de73ede52cfb53a0ca222e1d0c7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Granh=C3=A3o?= Date: Thu, 14 Nov 2024 13:07:57 +0000 Subject: [PATCH 1/2] Clarify `receive_onchain` docs --- libs/sdk-core/src/breez_services.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/sdk-core/src/breez_services.rs b/libs/sdk-core/src/breez_services.rs index 57a69d962..aa5e52b9f 100644 --- a/libs/sdk-core/src/breez_services.rs +++ b/libs/sdk-core/src/breez_services.rs @@ -807,7 +807,8 @@ impl BreezServices { /// Onchain receive swap API /// /// Create and start a new swap. A user-selected [OpeningFeeParams] can be optionally set in the argument. - /// If set, and the operation requires a new channel, the SDK will try to use the given fee params. + /// If set, and the operation requires a new channel, the SDK will enforce the use the given fee params. + /// The provided [OpeningFeeParams] need to be valid at the time of swap redeeming. /// /// Since we only allow one in-progress swap this method will return error if there is currently /// a swap waiting for confirmation to be redeemed and by that complete the swap. From 08579a965fe72493c782cc4b33120ef9059466d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Granh=C3=A3o?= <32176319+danielgranhao@users.noreply.github.com> Date: Thu, 14 Nov 2024 14:22:38 +0000 Subject: [PATCH 2/2] Update libs/sdk-core/src/breez_services.rs Co-authored-by: Jesse de Wit --- libs/sdk-core/src/breez_services.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/sdk-core/src/breez_services.rs b/libs/sdk-core/src/breez_services.rs index aa5e52b9f..4c8e9eede 100644 --- a/libs/sdk-core/src/breez_services.rs +++ b/libs/sdk-core/src/breez_services.rs @@ -807,7 +807,7 @@ impl BreezServices { /// Onchain receive swap API /// /// Create and start a new swap. A user-selected [OpeningFeeParams] can be optionally set in the argument. - /// If set, and the operation requires a new channel, the SDK will enforce the use the given fee params. + /// If set, and the operation requires a new channel, the SDK will use the given fee params. /// The provided [OpeningFeeParams] need to be valid at the time of swap redeeming. /// /// Since we only allow one in-progress swap this method will return error if there is currently