pub(super) fn bytes_to_hex_str<T>(hash: &CryptoHashOf<T>) -> String {
    hash.clone()
        .get()
        .0
        .iter()
        .fold(String::new(), |mut hash, byte| {
            hash.push_str(&format!("{:X}", byte));
            hash
        })
}
// Dumps a CryptoHash to a hex-encoded string.
Dumps a CryptoHash to a hex-encoded string.
Dumps a CryptoHash to a hex - encoded string .
pub(super) fn bytes_to_hex_str<T>(hash: &CryptoHashOf<T>) -> String {
    hash.clone()
        .get()
        .0
        .iter()
        .fold(String::new(), |mut hash, byte| {
            hash.push_str(&format!("{:X}", byte));
            hash
        })
}
pub ( super ) fn bytes_to_hex_str < T > ( hash : & CryptoHashOf < T > ) -> String { hash . clone ( ) . get ( ) . 0 . iter ( ) . fold ( String :: new ( ) , | mut hash , byte | { hash . push_str ( & format ! ( " " byte ) ) ; hash } ) }
Dumps a CryptoHash to a hex-encoded string.
Dumps a CryptoHash to a hex - encoded string .
hash
&CryptoHashOf<T>
hash
&CryptoHashOf<T>