Skip to content

Commit

Permalink
vault state camelCase
Browse files Browse the repository at this point in the history
  • Loading branch information
canonbrother committed Jun 19, 2024
1 parent 70454f9 commit ec50218
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions json/src/vault.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ impl Serialize for VaultState {
S: Serializer,
{
match *self {
VaultState::Unknown => serializer.serialize_str("UNKNOWN"),
VaultState::Active => serializer.serialize_str("ACTIVE"),
VaultState::InLiquidation => serializer.serialize_str("IN_LIQUIDATION"),
VaultState::Frozen => serializer.serialize_str("FROZEN"),
VaultState::MayLiquidate => serializer.serialize_str("MAY_LIQUIDATE"),
VaultState::Unknown => serializer.serialize_str("unknown"),
VaultState::Active => serializer.serialize_str("active"),
VaultState::InLiquidation => serializer.serialize_str("inLiquidation"),
VaultState::Frozen => serializer.serialize_str("frozen"),
VaultState::MayLiquidate => serializer.serialize_str("mayLiquidate"),
}
}
}
Expand Down

0 comments on commit ec50218

Please sign in to comment.