From 2cf3836dac843bf37715ecbd345075b3519f11a3 Mon Sep 17 00:00:00 2001 From: onyinyang Date: Mon, 16 Jan 2023 22:33:00 -0500 Subject: [PATCH] Make state serializable for Tor JS bindings Author: onyinyang --- crates/lox-library/src/proto/open_invite.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/lox-library/src/proto/open_invite.rs b/crates/lox-library/src/proto/open_invite.rs index 818b32b..461ccbc 100644 --- a/crates/lox-library/src/proto/open_invite.rs +++ b/crates/lox-library/src/proto/open_invite.rs @@ -45,7 +45,7 @@ pub struct Request { } /// The client state for this protocol -#[derive(Debug)] +#[derive(Debug, Serialize, Deserialize)] pub struct State { d: Scalar, D: RistrettoPoint,