Run codemod --extensions rs Pubkey::new_rand solana_sdk::pubkey::new_rand
This commit is contained in:
@@ -11,7 +11,7 @@ use solana_sdk::transaction::TransactionError;
|
||||
#[test]
|
||||
fn test_program_native_failure() {
|
||||
let (genesis_config, alice_keypair) = create_genesis_config(50);
|
||||
let program_id = Pubkey::new_rand();
|
||||
let program_id = solana_sdk::pubkey::new_rand();
|
||||
let bank = Bank::new(&genesis_config);
|
||||
bank.add_native_program("solana_failure_program", &program_id);
|
||||
|
||||
|
Reference in New Issue
Block a user