Skip to content

Commit

Permalink
Change "Self::BlockNumber" to "BlockNumberFor<Self>" (#2104)
Browse files Browse the repository at this point in the history
change 
```rust
Self::BlockNumber
```

```rust
BlockNumberFor<Self>
```

Co-authored-by: Kian Paimani <[email protected]>
  • Loading branch information
Jackliu-miaozi and kianenigma authored Jan 22, 2024
1 parent d8e60b5 commit 290c333
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ The guide also illustrates how to add entropy to the randomness value by assigni
```rust
#[pallet::config]
pub trait frame_system::Config {
type MyRandomness: Randomness<Self::Hash, Self::BlockNumber>;
type MyRandomness: Randomness<Self::Hash, BlockNumberFor<Self>>;
}
```

Expand Down

0 comments on commit 290c333

Please sign in to comment.