less random is fine for shuffling

This commit is contained in:
Bryan Stitt 2023-06-12 22:42:22 -07:00
parent 55e8471b19
commit a7fb12bd72

@ -269,12 +269,12 @@ impl Web3Rpc {
pub fn shuffle_for_load_balancing_on(
&self,
max_block: Option<U64>,
) -> ((bool, u32, Reverse<U64>), u32) {
) -> ((bool, u32, Reverse<U64>), u8) {
let sort_on = self.sort_on(max_block);
let mut rng = nanorand::tls_rng();
let r = rng.generate::<u32>();
let r = rng.generate::<u8>();
(sort_on, r)
}