Make PublicKey inner Point public so that we can use it during zk-SNARK verification.
This commit is contained in:
parent
347666705c
commit
5687acfaf8
|
@ -51,7 +51,7 @@ pub struct Signature {
|
||||||
|
|
||||||
pub struct PrivateKey<E: JubjubEngine>(E::Fs);
|
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 {
|
impl Signature {
|
||||||
pub fn read<R: Read>(mut reader: R) -> io::Result<Self> {
|
pub fn read<R: Read>(mut reader: R) -> io::Result<Self> {
|
||||||
|
|
Loading…
Reference in New Issue