Unverified Commit 70097647 authored by kladko's avatar kladko

SKALE-3228

parent 7906ecc1
...@@ -175,12 +175,17 @@ void enclave_init() { ...@@ -175,12 +175,17 @@ void enclave_init() {
LOG_INFO("Initing libff"); LOG_INFO("Initing libff");
try { try {
LOG_INFO("Initing params");
libff::init_alt_bn128_params(); libff::init_alt_bn128_params();
LOG_INFO("Initing curve");
curve = domain_parameters_init(); curve = domain_parameters_init();
LOG_INFO("Initing curve domain");
domain_parameters_load_curve(curve, secp256k1); domain_parameters_load_curve(curve, secp256k1);
} catch (exception& e) { } catch (exception& e) {
LOG_ERROR("Exception in libff init"); LOG_ERROR("Exception in libff init");
LOG_ERROR(e.what()); LOG_ERROR(e.what());
} catch (...) {
LOG_ERROR("Unknown exception in libff");
} }
LOG_INFO("Inited libff"); LOG_INFO("Inited libff");
} }
......
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