Skip to content

Commit d558f44

Browse files
luke-jrjonasschnelli
authored andcommitted
Bugfix: RPC: Add missing UnregisterHTTPHandler for /wallet/
1 parent 85d5319 commit d558f44

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/httprpc.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,9 @@ void StopHTTPRPC()
252252
{
253253
LogPrint(BCLog::RPC, "Stopping HTTP RPC server\n");
254254
UnregisterHTTPHandler("/", true);
255+
#ifdef ENABLE_WALLET
256+
UnregisterHTTPHandler("/wallet/", false);
257+
#endif
255258
if (httpRPCTimerInterface) {
256259
RPCUnsetTimerInterface(httpRPCTimerInterface.get());
257260
httpRPCTimerInterface.reset();

0 commit comments

Comments
 (0)