Make some necessary fields public

This commit is contained in:
2026-05-16 15:28:23 -07:00
parent 87ae6e001b
commit 8712e4603d
+2 -2
View File
@@ -21,14 +21,14 @@ pub struct TaggedClientMessage {
#[derive(Serialize,Deserialize,Clone,Debug)]
pub struct SignedClientMessage {
message: ClientMessage,
pub message: ClientMessage,
// Should I enforce this being a ecdsa signature?
// What is the signature of????
// Can I reserialize the message and check the signature that way??
// That would be very brittle but there isn't a good way to extract the
// bytes using serde. I'll write something better at some point
#[serde(with = "serde_bytes")]
signature: Box<[u8]>
pub signature: Box<[u8]>
}
#[derive(Serialize,Deserialize,Clone,Debug)]