diff --git a/indexer/tasks/src/utils.rs b/indexer/tasks/src/utils.rs index ca113aae..65f4434c 100644 --- a/indexer/tasks/src/utils.rs +++ b/indexer/tasks/src/utils.rs @@ -11,8 +11,8 @@ pub fn blake2b256(data: &[u8]) -> [u8; 32] { } // https://github.com/cardano-foundation/CIPs/pull/64 -pub fn blake2b160(data: &[u8]) -> [u8; 32] { - let mut out = [0; 32]; +pub fn blake2b160(data: &[u8]) -> [u8; 20] { + let mut out = [0; 20]; Blake2b::blake2b(&mut out, data, &[]); out }