Skip to content

Commit

Permalink
Fix confusingly named randomness subject variable
Browse files Browse the repository at this point in the history
  • Loading branch information
teor2345 committed Dec 18, 2024
1 parent 0694218 commit 2d31849
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/pallet-domains/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2717,8 +2717,8 @@ impl<T: Config> Pallet<T> {
}

pub fn extrinsics_shuffling_seed() -> T::Hash {
let seed = DOMAIN_EXTRINSICS_SHUFFLING_SEED_SUBJECT;
let (randomness, _) = T::Randomness::random(seed);
let subject = DOMAIN_EXTRINSICS_SHUFFLING_SEED_SUBJECT;
let (randomness, _) = T::Randomness::random(subject);
randomness
}

Expand Down

0 comments on commit 2d31849

Please sign in to comment.