diff --git a/src/api/mod.rs b/src/api/mod.rs index 0485a28..58d3339 100644 --- a/src/api/mod.rs +++ b/src/api/mod.rs @@ -50,7 +50,7 @@ impl KeyGenResponse { let mrenclave: String = strip_0x_prefix!(mrenclave); let got_mrenclave = self.evidence.get_mrenclave()?; if mrenclave != got_mrenclave { - bail!("Received MRENCLAVE {got_mrenclave} does not match expected {mrenclave}") + bail!("Received MRENCLAVE {mrenclave} does not match expected {got_mrenclave}") } // Get the expected public key from payload @@ -74,7 +74,7 @@ impl KeyGenResponse { let mrenclave: String = strip_0x_prefix!(mrenclave); let got_mrenclave = self.evidence.get_mrenclave()?; if mrenclave != got_mrenclave { - bail!("Received MRENCLAVE {got_mrenclave} does not match expected {mrenclave}") + bail!("Received MRENCLAVE {mrenclave} does not match expected {got_mrenclave}") } // Verify the payload @@ -129,4 +129,4 @@ impl KeyImportResponse { KeyImportResponse { data: [data] } } -} \ No newline at end of file +}