Function fvm_shared::commcid::cid_to_commitment
source ยท pub fn cid_to_commitment(
c: &Cid,
) -> Result<(u64, u64, Commitment), &'static str>
Expand description
CIDToCommitment extracts the raw commitment bytes, the FilMultiCodec and FilMultiHash from a CID, after validating that the codec and hash type are consistent