fix: cache calculation
This commit is contained in:
@@ -13,7 +13,9 @@ pub struct RandomRouter {
|
||||
|
||||
impl RandomRouter {
|
||||
pub fn new(seed: u64) -> Self {
|
||||
Self { rng: ChaCha8Rng::seed_from_u64(seed) }
|
||||
Self {
|
||||
rng: ChaCha8Rng::seed_from_u64(seed),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user