Skip to content

Commit

Permalink
Nit
Browse files Browse the repository at this point in the history
  • Loading branch information
thibault-martinez committed Jan 10, 2024
1 parent 55753da commit 69570c7
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 @@ -89,7 +89,7 @@ impl ManaAllotments {
/// The maximum number of mana allotments of a transaction.
pub const COUNT_MAX: u16 = 128;
/// The range of valid numbers of mana allotments of a transaction.
pub const COUNT_RANGE: RangeInclusive<u16> = Self::COUNT_MIN..=Self::COUNT_MAX; // [1..128]
pub const COUNT_RANGE: RangeInclusive<u16> = Self::COUNT_MIN..=Self::COUNT_MAX; // [0..128]

/// Creates a new [`ManaAllotments`] from a vec.
pub fn from_vec(allotments: Vec<ManaAllotment>) -> Result<Self, Error> {
Expand Down

0 comments on commit 69570c7

Please sign in to comment.