Skip to main content

code_hash

Function code_hash 

Source
pub fn code_hash(data: &[u8]) -> [u8; 32]
Expand description

Returns the hash of the code blob.

Should produce the same value as pvm_binary_hash macro.