Merge pull request #74 from ebfull/ivk-pub

Make ivk pub
This commit is contained in:
ebfull 2018-05-18 12:45:38 -06:00 committed by GitHub
commit 6abfcca25a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ impl<E: JubjubEngine> ViewingKey<E> {
)
}
fn ivk(&self) -> E::Fs {
pub fn ivk(&self) -> E::Fs {
let mut preimage = [0; 64];
self.ak.write(&mut preimage[0..32]).unwrap();