Skip to content

Commit

Permalink
add AtLeast32BitUnsigned trait bound for Config::BlockNumber
Browse files Browse the repository at this point in the history
  • Loading branch information
clangenb committed Sep 14, 2023
1 parent 6b80e76 commit 7217d43
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion primitives/src/config/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ pub trait Config {
+ DeserializeOwned
+ core::hash::Hash
+ core::str::FromStr
+ Into<u64>;
+ Into<u64>
+ AtLeast32BitUnsigned;

/// The output of the `Hashing` function.
type Hash: Debug
Expand Down

0 comments on commit 7217d43

Please sign in to comment.