Skip to content

Commit

Permalink
Update chain-tx-enclave-next/tx-validation-next/src/sgx_module.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Tomas Tauber <2410580+tomtau@users.noreply.github.com>
  • Loading branch information
yihuang and tomtau committed Aug 26, 2020
1 parent d0eefb7 commit 8430d89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chain-tx-enclave-next/tx-validation-next/src/sgx_module.rs
Expand Up @@ -19,7 +19,7 @@ use std::sync::Arc;

/// FIXME: genesis app hash etc.?
pub const NETWORK_HEX_ID: u8 = get_network_id!();
pub const TDBE_MRENCLAVE: &str = env! {"TDBE_MRENCLAVE"};
pub const TDBE_MRENCLAVE: [u8; 32] = include_bytes! {"tdbe.mrenclave"};

pub(crate) fn write_response<I: Write>(response: IntraEnclaveResponse, output: &mut I) {
if let Err(e) = output.write_all(&response.encode()) {
Expand Down

0 comments on commit 8430d89

Please sign in to comment.