diff --git a/src/enclave/guardian/mod.rs b/src/enclave/guardian/mod.rs index 2631be6..99b85c4 100644 --- a/src/enclave/guardian/mod.rs +++ b/src/enclave/guardian/mod.rs @@ -247,7 +247,7 @@ pub fn sign_voluntary_exit_message( Ok(crate::enclave::types::SignExitResponse { signature: hex::encode(sig.as_ssz_bytes()), - msg: hex::encode(root), + message: hex::encode(root), }) } diff --git a/src/enclave/types.rs b/src/enclave/types.rs index 5459ebb..05ea29e 100644 --- a/src/enclave/types.rs +++ b/src/enclave/types.rs @@ -295,7 +295,7 @@ impl SignExitRequest { #[serde(rename_all = "camelCase")] pub struct SignExitResponse { pub signature: String, - pub msg: String, + pub message: String, } #[derive(serde::Serialize, serde::Deserialize, Debug)]