From db20203c1ba06071d1494f7283f02778936637c2 Mon Sep 17 00:00:00 2001 From: lean-apple <78718413+lean-apple@users.noreply.github.com> Date: Fri, 8 Mar 2024 09:24:48 +0100 Subject: [PATCH] rename --- src/enclave/guardian/mod.rs | 2 +- src/enclave/types.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)]