Added json_rpc url for cryptonote client.

This commit is contained in:
Jianping Wu 2019-03-15 20:59:54 -07:00
parent 27617b446b
commit 48cec14bc4

View File

@ -241,6 +241,7 @@ bool StartHTTPRPC()
return false;
RegisterHTTPHandler("/", true, HTTPReq_JSONRPC);
RegisterHTTPHandler("/json_rpc", true, HTTPReq_JSONRPC);
#ifdef ENABLE_WALLET
// ifdef can be removed once we switch to better endpoint support and API versioning
RegisterHTTPHandler("/wallet/", false, HTTPReq_JSONRPC);