From a0e94501cf20e27aea9b6b80a27fdecc954e73d4 Mon Sep 17 00:00:00 2001 From: Josh Rickmar Date: Mon, 3 Feb 2014 15:01:25 -0500 Subject: [PATCH] Add 'stop' to the RPC handlers map. Sending a stop request to wallet should stop the wallet, not pass the unhandled request to btcd. Instead, catch it with the Unimplemented handler. --- rpcserver.go | 1 + 1 file changed, 1 insertion(+) diff --git a/rpcserver.go b/rpcserver.go index a205016..3b024e9 100644 --- a/rpcserver.go +++ b/rpcserver.go @@ -76,6 +76,7 @@ var rpcHandlers = map[string]cmdHandler{ "setaccount": Unimplemented, "signmessage": Unimplemented, "signrawtransaction": Unimplemented, + "stop": Unimplemented, "validateaddress": Unimplemented, "verifymessage": Unimplemented,