From 31bd0b1fa7f6c13fad0c8cb21e07e1500dec1551 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?dni=20=E2=9A=A1?= Date: Mon, 1 Jul 2024 10:03:36 +0200 Subject: [PATCH] bug: add missing attributes to `CreateSubmarineResponse` as seen in the swagger docs https://api.boltz.exchange/swagger#/Submarine/post_swap_submarine there should be a `timeoutBlockHeight` and `referralId` attribute --- src/swaps/boltz.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/swaps/boltz.rs b/src/swaps/boltz.rs index 783d9e3..c78f851 100644 --- a/src/swaps/boltz.rs +++ b/src/swaps/boltz.rs @@ -608,7 +608,9 @@ pub struct CreateSubmarineResponse { pub claim_public_key: PublicKey, pub expected_amount: u64, pub id: String, + pub referral_id: Option, pub swap_tree: SwapTree, + pub timeout_block_height: u64, pub blinding_key: Option, } impl CreateSubmarineResponse {