Unverified Commit f23440af authored by kladko's avatar kladko

SKALE-3274-restart-enclave

parent b676e9f8
...@@ -119,7 +119,7 @@ READ_LOCK(initMutex); ...@@ -119,7 +119,7 @@ READ_LOCK(initMutex);
#define RESTART_END \ #define RESTART_END \
} \ } \
if (status != SGX_SUCCESS || errStatus != 0) { \ if (status != SGX_SUCCESS || errStatus == 3) { \
spdlog::error(__FUNCTION__); \ spdlog::error(__FUNCTION__); \
spdlog::error("Restarting sgx on status errStatus... {} {}", status, errStatus); \ spdlog::error("Restarting sgx on status errStatus... {} {}", status, errStatus); \
reinitEnclave(); \ reinitEnclave(); \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment