Function ignore_metadata_hash

Source
pub fn ignore_metadata_hash(bytecode: &[u8]) -> &[u8] 
Expand description

Utility function to ignore metadata hash of the given bytecode. This assumes that the metadata is at the end of the bytecode.