Add secondary indexes (#14212)
This commit is contained in:
@ -3,7 +3,7 @@ pub use solana_program::pubkey::*;
|
||||
/// New random Pubkey for tests and benchmarks.
|
||||
#[cfg(feature = "full")]
|
||||
pub fn new_rand() -> Pubkey {
|
||||
Pubkey::new(&rand::random::<[u8; 32]>())
|
||||
Pubkey::new(&rand::random::<[u8; PUBKEY_BYTES]>())
|
||||
}
|
||||
|
||||
#[cfg(feature = "full")]
|
||||
|
Reference in New Issue
Block a user