Make state serializable for Tor JS bindings

Author:    onyinyang <onyinyang@users.noreply.github.com>
This commit is contained in:
onyinyang 2023-01-16 22:33:00 -05:00
parent 48f989e6c5
commit 2cf3836dac
No known key found for this signature in database
GPG Key ID: 156A6435430C2036
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ pub struct Request {
} }
/// The client state for this protocol /// The client state for this protocol
#[derive(Debug)] #[derive(Debug, Serialize, Deserialize)]
pub struct State { pub struct State {
d: Scalar, d: Scalar,
D: RistrettoPoint, D: RistrettoPoint,