Skip to content

Commit

Permalink
Add default to AccountHistoryOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
Bushstar committed Jun 18, 2024
1 parent 982f616 commit 8d2651f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion json/src/account.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ pub struct AccountHistory {
pub amounts: Vec<String>,
}

#[derive(Debug, Serialize, Deserialize)]
#[derive(Debug, Serialize, Deserialize, Default)]
#[serde(rename_all = "camelCase")]
pub struct AccountHistoryOptions {
max_block_height: Option<u64>,
Expand Down

0 comments on commit 8d2651f

Please sign in to comment.