Skip to content

Commit

Permalink
fix cip14 fingerprint hash
Browse files Browse the repository at this point in the history
  • Loading branch information
ecioppettini committed Dec 21, 2023
1 parent b973d07 commit 9068194
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions indexer/tasks/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 9068194

Please sign in to comment.