mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 12:02:48 +01:00
Register wallet endpoint
This commit is contained in:
parent
91edda8f3c
commit
dd2185c291
@ -233,7 +233,10 @@ bool StartHTTPRPC()
|
||||
return false;
|
||||
|
||||
RegisterHTTPHandler("/", 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);
|
||||
#endif
|
||||
assert(EventBase());
|
||||
httpRPCTimerInterface = new HTTPRPCTimerInterface(EventBase());
|
||||
RPCSetTimerInterface(httpRPCTimerInterface);
|
||||
|
Loading…
Reference in New Issue
Block a user