mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 12:32:48 +01:00
Bugfix: RPC: Add missing UnregisterHTTPHandler for /wallet/
This commit is contained in:
parent
85d5319716
commit
d558f44c58
@ -252,6 +252,9 @@ void StopHTTPRPC()
|
|||||||
{
|
{
|
||||||
LogPrint(BCLog::RPC, "Stopping HTTP RPC server\n");
|
LogPrint(BCLog::RPC, "Stopping HTTP RPC server\n");
|
||||||
UnregisterHTTPHandler("/", true);
|
UnregisterHTTPHandler("/", true);
|
||||||
|
#ifdef ENABLE_WALLET
|
||||||
|
UnregisterHTTPHandler("/wallet/", false);
|
||||||
|
#endif
|
||||||
if (httpRPCTimerInterface) {
|
if (httpRPCTimerInterface) {
|
||||||
RPCUnsetTimerInterface(httpRPCTimerInterface.get());
|
RPCUnsetTimerInterface(httpRPCTimerInterface.get());
|
||||||
httpRPCTimerInterface.reset();
|
httpRPCTimerInterface.reset();
|
||||||
|
Loading…
Reference in New Issue
Block a user