From 8d2651fb0d3beb16648a0ca7ec263bc34427e8dc Mon Sep 17 00:00:00 2001 From: Bushstar Date: Tue, 18 Jun 2024 10:35:11 +0100 Subject: [PATCH] Add default to AccountHistoryOptions --- json/src/account.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/json/src/account.rs b/json/src/account.rs index c25d62f..796039a 100644 --- a/json/src/account.rs +++ b/json/src/account.rs @@ -107,7 +107,7 @@ pub struct AccountHistory { pub amounts: Vec, } -#[derive(Debug, Serialize, Deserialize)] +#[derive(Debug, Serialize, Deserialize, Default)] #[serde(rename_all = "camelCase")] pub struct AccountHistoryOptions { max_block_height: Option,