Function code_hash

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

Returns the H256 hash of the code slice.