From 382e914c50c46ddd167b47f9f0c2c3d33f273ef4 Mon Sep 17 00:00:00 2001 From: deevope <69693985+deevope@users.noreply.github.com> Date: Mon, 13 Dec 2021 13:18:37 +0100 Subject: [PATCH] make fn rewind_hash pub (#3674) --- keychain/src/view_key.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() }