Make all states serializable

This commit is contained in:
onyinyang 2023-02-06 19:47:04 -05:00
parent 9ce2a81fe7
commit 0e960d9156
No known key found for this signature in database
GPG Key ID: 156A6435430C2036
7 changed files with 7 additions and 7 deletions

View File

@ -82,7 +82,7 @@ pub struct Request {
piUser: CompactProof,
}
#[derive(Debug)]
#[derive(Debug, Serialize, Deserialize)]
pub struct State {
d: Scalar,
D: RistrettoPoint,

View File

@ -73,7 +73,7 @@ pub struct Request {
piUser: CompactProof,
}
#[derive(Debug)]
#[derive(Debug, Serialize, Deserialize)]
pub struct State {
d: Scalar,
D: RistrettoPoint,

View File

@ -99,7 +99,7 @@ pub struct Request {
piUser: CompactProof,
}
#[derive(Debug)]
#[derive(Debug, Serialize, Deserialize)]
pub struct State {
d: Scalar,
D: RistrettoPoint,

View File

@ -137,7 +137,7 @@ pub struct Request {
piUser: CompactProof,
}
#[derive(Debug)]
#[derive(Debug, Serialize, Deserialize)]
pub struct State {
d: Scalar,
D: RistrettoPoint,

View File

@ -73,7 +73,7 @@ pub struct Request {
piUser: CompactProof,
}
#[derive(Debug)]
#[derive(Debug, Serialize, Deserialize)]
pub struct State {
d: Scalar,
D: RistrettoPoint,

View File

@ -73,7 +73,7 @@ pub struct Request {
piUser: CompactProof,
}
#[derive(Debug)]
#[derive(Debug, Serialize, Deserialize)]
pub struct State {
d: Scalar,
D: RistrettoPoint,

View File

@ -96,7 +96,7 @@ pub struct Request {
piUser: CompactProof,
}
#[derive(Debug)]
#[derive(Debug, Serialize, Deserialize)]
pub struct State {
d: Scalar,
D: RistrettoPoint,