Skip to content

Commit

Permalink
fix(models): fix serde impl for AccountState
Browse files Browse the repository at this point in the history
  • Loading branch information
Rexagon committed Oct 28, 2024
1 parent 9e8c569 commit 9ad9d01
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/models/account/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 9ad9d01

Please sign in to comment.