Run codemod --extensions rs Pubkey::new_rand solana_sdk::pubkey::new_rand

This commit is contained in:
Michael Vines
2020-10-19 12:12:08 -07:00
parent 76f11c7dae
commit 7bc073defe
118 changed files with 963 additions and 963 deletions

View File

@@ -304,7 +304,7 @@ pub(crate) mod tests {
#[test]
fn test_to_staked_nodes() {
let mut stakes = Vec::new();
let node1 = Pubkey::new_rand();
let node1 = solana_sdk::pubkey::new_rand();
// Node 1 has stake of 3
for i in 0..3 {
@@ -321,7 +321,7 @@ pub(crate) mod tests {
}
// Node 1 has stake of 5
let node2 = Pubkey::new_rand();
let node2 = solana_sdk::pubkey::new_rand();
stakes.push((
5,