Skip to content

Commit

Permalink
fixup! Add did:pkh:doge for Dogecoin addresses
Browse files Browse the repository at this point in the history
Fix test using ripemd::hash_public_key
  • Loading branch information
clehner committed Mar 22, 2021
1 parent 705a319 commit 00c7835
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ripemd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ mod tests {
x509_thumbprint_sha1: None,
x509_thumbprint_sha256: None,
};
let hash = hash_public_key(&jwk).unwrap();
let hash = hash_public_key(&jwk, 0).unwrap();
assert_eq!(hash, "1PMycacnJaSqwwJqjawXBErnLsZ7RkXUAs");
}
}

0 comments on commit 00c7835

Please sign in to comment.