Browse Source

Register wallet endpoint

tags/v0.15.1
Jonas Schnelli 3 years ago
parent
commit
dd2185c291
No account linked to committer's email address
1 changed files with 4 additions and 1 deletions
  1. 4
    1
      src/httprpc.cpp

+ 4
- 1
src/httprpc.cpp View File

@@ -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…
Cancel
Save