requireContentHashWithinBounds

Check a content hash against MAX_CONTENT_HASH_LENGTH and hand it back unchanged.

Return

contentHash, for use inline in a constructor

Parameters

contentHash

the content hash to check

Throws

if the content hash is longer than MAX_CONTENT_HASH_LENGTH