Unverified Commit 97768b50 authored by svetaro's avatar svetaro

SKALE-1762 add base port to SGXWalletServer

parent b4d43f50
......@@ -110,7 +110,7 @@ int init_server(bool check_certs) {
}
}
hs = new HttpServer(1030, certPath, keyPath, rootCAPath, check_certs, 10);
hs = new HttpServer(BASE_PORT, certPath, keyPath, rootCAPath, check_certs, 10);
s = new SGXWalletServer(*hs,
JSONRPC_SERVER_V2); // hybrid server (json-rpc 1.0 & 2.0)
......@@ -118,6 +118,9 @@ int init_server(bool check_certs) {
cerr << "SGX Server could not start listening" << endl;
exit(-1);
}
else{
cerr << "SGX Server started on port " << BASE_PORT << endl;
}
return 0;
}
......
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