mirror of
https://github.com/mimblewimble/grin.git
synced 2025-01-20 19:11:08 +03:00
make fn rewind_hash pub (#3674)
This commit is contained in:
parent
63c65605bb
commit
382e914c50
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
let ser = public_root_key.serialize_vec(secp, true);
|
||||||
blake2b(32, &[], &ser[..]).as_bytes().to_vec()
|
blake2b(32, &[], &ser[..]).as_bytes().to_vec()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue