Make state serializable for Tor JS bindings
Author: onyinyang <onyinyang@users.noreply.github.com>
This commit is contained in:
parent
48f989e6c5
commit
2cf3836dac
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue