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 16, 2024
1 parent 4300b34 commit f69de4e
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 @@ -2722,8 +2722,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 f69de4e

Please sign in to comment.