Skip to content

Commit

Permalink
bug: add missing attributes to CreateSubmarineResponse
Browse files Browse the repository at this point in the history
as seen in the swagger docs
https://api.boltz.exchange/swagger#/Submarine/post_swap_submarine there
should be a `timeoutBlockHeight` and `referralId` attribute
  • Loading branch information
dni committed Jul 1, 2024
1 parent 4896881 commit 31bd0b1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/swaps/boltz.rs
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,9 @@ pub struct CreateSubmarineResponse {
pub claim_public_key: PublicKey,
pub expected_amount: u64,
pub id: String,
pub referral_id: Option<String>,
pub swap_tree: SwapTree,
pub timeout_block_height: u64,
pub blinding_key: Option<String>,
}
impl CreateSubmarineResponse {
Expand Down

0 comments on commit 31bd0b1

Please sign in to comment.