Skip to content

Commit

Permalink
Fix no_std
Browse files Browse the repository at this point in the history
  • Loading branch information
thibault-martinez committed Jan 9, 2024
1 parent f1dc0dc commit 8eb7714
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/src/types/block/mana/allotment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ use crate::types::block::{
pub struct ManaAllotment {
pub(crate) account_id: AccountId,
#[packable(verify_with = verify_mana)]
#[serde(with = "crate::utils::serde::string")]
#[cfg_attr(feature = "serde", serde(with = "crate::utils::serde::string"))]
pub(crate) mana: u64,
}

Expand Down

0 comments on commit 8eb7714

Please sign in to comment.