From 9ad9d013b813990515b95825c5772ccd02866b6e Mon Sep 17 00:00:00 2001 From: Ivan Kalinin Date: Mon, 28 Oct 2024 14:03:59 +0100 Subject: [PATCH] fix(models): fix serde impl for `AccountState` --- src/models/account/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/models/account/mod.rs b/src/models/account/mod.rs index e411e8b8..ab5508c6 100644 --- a/src/models/account/mod.rs +++ b/src/models/account/mod.rs @@ -307,6 +307,7 @@ pub struct Account { /// State of an existing account. #[derive(Debug, Clone, Eq, PartialEq)] #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] +#[cfg_attr(feature = "serde", serde(tag = "status"))] pub enum AccountState { /// Account exists but has not yet been deployed. Uninit,