mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
Replace rand with rand_core where possible
Turns out rand_core offers OsRng.
This commit is contained in:
@@ -24,7 +24,7 @@ async fn test_ecrecover_hack() {
|
||||
};
|
||||
use k256::elliptic_curve::bigint::ArrayEncoding;
|
||||
use k256::{Scalar, U256};
|
||||
use rand::rngs::OsRng;
|
||||
use rand_core::OsRng;
|
||||
|
||||
let anvil = Anvil::new().spawn();
|
||||
let wallet: LocalWallet = anvil.keys()[0].clone().into();
|
||||
|
||||
Reference in New Issue
Block a user