Make PublicKey inner Point public so that we can use it during zk-SNARK verification.

This commit is contained in:
Sean Bowe 2018-05-01 15:23:13 -06:00
parent 347666705c
commit 5687acfaf8
No known key found for this signature in database
GPG Key ID: 95684257D8F8B031
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ pub struct Signature {
pub struct PrivateKey<E: JubjubEngine>(E::Fs);
pub struct PublicKey<E: JubjubEngine>(Point<E, Unknown>);
pub struct PublicKey<E: JubjubEngine>(pub Point<E, Unknown>);
impl Signature {
pub fn read<R: Read>(mut reader: R) -> io::Result<Self> {