[][src]Function commcid::cid_to_replica_commitment_v1

pub fn cid_to_replica_commitment_v1(c: &Cid) -> Result<Commitment, &'static str>

cid_to_replica_commitment_v1 extracts the raw replica commitment from a CID assuming that it has the correct hashing function and serialization types