Skip to content

Commit

Permalink
Conform to serde format in base
Browse files Browse the repository at this point in the history
  • Loading branch information
soerenbf committed Sep 21, 2024
1 parent b96befb commit a89bdc1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ pub fn generate_baker_keys() -> BakerKeyPairs {
#[derive(Deserialize)]
#[serde(bound(deserialize = "V: Deserialize<'de>"))]
pub struct Versioned<V> {
#[serde(rename = "v")]
pub version: u32,
pub value: V,
}

0 comments on commit a89bdc1

Please sign in to comment.