Skip to content

Commit

Permalink
Merge pull request #8 from DeFiCh/bush/add-default
Browse files Browse the repository at this point in the history
Add default to AccountHistoryOptions
  • Loading branch information
Bushstar authored Jun 18, 2024
2 parents c467524 + 8d2651f commit 25fd572
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 25fd572

Please sign in to comment.