fix warnings

This commit is contained in:
NikVolf 2018-12-14 17:26:01 +03:00
parent 27b30688b9
commit 8ebffc0c3a
1 changed files with 2 additions and 3 deletions

View File

@ -1,5 +1,5 @@
use hex::FromHex;
use bn::{self, Group, Fq, AffineG1, Fq2, AffineG2};
use bn::{self, Fq, AffineG1, Fq2, AffineG2};
use std::fmt;
@ -98,7 +98,7 @@ impl<'de> Deserialize<'de> for G2 {
}
}
#[derive(Clone)]
#[derive(Clone, Deserialize)]
pub struct VerifyingKey {
pub a: G2,
pub b: G1,
@ -114,7 +114,6 @@ pub struct VerifyingKey {
mod tests {
extern crate serde_json;
use serde;
use super::*;
#[test]