Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
lean-apple committed Mar 8, 2024
1 parent d0ffa8c commit db20203
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/enclave/guardian/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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),
})
}

Expand Down
2 changes: 1 addition & 1 deletion src/enclave/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down

0 comments on commit db20203

Please sign in to comment.