Skip to content

Commit

Permalink
Make hash_swap_id optional
Browse files Browse the repository at this point in the history
  • Loading branch information
dangeross committed Jul 24, 2024
1 parent d49e873 commit 764040d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/swaps/boltz.rs
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,8 @@ pub struct MrhResponse {
#[serde(rename_all = "camelCase")]
pub struct Webhook {
pub url: String,
pub hash_swap_id: bool,
#[serde(skip_serializing_if = "Option::is_none")]
pub hash_swap_id: Option<bool>,
}

#[derive(Debug, Clone, Serialize, Deserialize)]
Expand Down

0 comments on commit 764040d

Please sign in to comment.