Function near_primitives::utils::create_random_seed [−][src]
pub fn create_random_seed(
protocol_version: ProtocolVersion,
action_hash: CryptoHash,
random_seed: CryptoHash
) -> Vec<u8>
Creates a unique random seed to be provided to VMContext
from a give action_hash
and
a given random_seed
.
This method is backward compatible, so it takes the current protocol version.