mirror of
https://github.com/Qortal/pirate-librustzcash.git
synced 2025-07-30 20:11:23 +00:00
Require that ak in FullViewingKey is prime order
This commit is contained in:
@@ -62,6 +62,7 @@ impl<E: JubjubEngine> ProofGenerationKey<E> {
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct ViewingKey<E: JubjubEngine> {
|
||||
pub ak: edwards::Point<E, PrimeOrder>,
|
||||
pub nk: edwards::Point<E, PrimeOrder>
|
||||
|
Reference in New Issue
Block a user