diff --git a/keychain/src/view_key.rs b/keychain/src/view_key.rs index 7747c9e1d..be6933fad 100644 --- a/keychain/src/view_key.rs +++ b/keychain/src/view_key.rs @@ -94,7 +94,7 @@ impl ViewKey { }) } - fn rewind_hash(secp: &Secp256k1, public_root_key: PublicKey) -> Vec { + pub fn rewind_hash(secp: &Secp256k1, public_root_key: PublicKey) -> Vec { let ser = public_root_key.serialize_vec(secp, true); blake2b(32, &[], &ser[..]).as_bytes().to_vec() }