make fn rewind_hash pub (#3674)

This commit is contained in:
deevope
2021-12-13 13:18:37 +01:00
committed by GitHub
parent 63c65605bb
commit 382e914c50
+1 -1
View File
@@ -94,7 +94,7 @@ impl ViewKey {
})
}
fn rewind_hash(secp: &Secp256k1, public_root_key: PublicKey) -> Vec<u8> {
pub fn rewind_hash(secp: &Secp256k1, public_root_key: PublicKey) -> Vec<u8> {
let ser = public_root_key.serialize_vec(secp, true);
blake2b(32, &[], &ser[..]).as_bytes().to_vec()
}