From d558f44c58b61671899d6ef897df271de3f4f20a Mon Sep 17 00:00:00 2001 From: Luke Dashjr Date: Thu, 14 Dec 2017 03:13:34 +0000 Subject: Bugfix: RPC: Add missing UnregisterHTTPHandler for /wallet/ --- src/httprpc.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/httprpc.cpp b/src/httprpc.cpp index 5e9e419744..0abab55b5b 100644 --- a/src/httprpc.cpp +++ b/src/httprpc.cpp @@ -252,6 +252,9 @@ void StopHTTPRPC() { LogPrint(BCLog::RPC, "Stopping HTTP RPC server\n"); UnregisterHTTPHandler("/", true); +#ifdef ENABLE_WALLET + UnregisterHTTPHandler("/wallet/", false); +#endif if (httpRPCTimerInterface) { RPCUnsetTimerInterface(httpRPCTimerInterface.get()); httpRPCTimerInterface.reset(); -- cgit v1.2.3