Skip to content

Commit

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

```rust
BlockNumberFor<Self>
```
  • Loading branch information
Jackliu-miaozi authored Jan 3, 2024
1 parent 8553b97 commit 5a0f7f4
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 5a0f7f4

Please sign in to comment.