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.
This commit is contained in:
Josh Rickmar 2014-02-03 15:01:25 -05:00
parent d7a4e5e816
commit a0e94501cf

View file

@ -76,6 +76,7 @@ var rpcHandlers = map[string]cmdHandler{
"setaccount": Unimplemented, "setaccount": Unimplemented,
"signmessage": Unimplemented, "signmessage": Unimplemented,
"signrawtransaction": Unimplemented, "signrawtransaction": Unimplemented,
"stop": Unimplemented,
"validateaddress": Unimplemented, "validateaddress": Unimplemented,
"verifymessage": Unimplemented, "verifymessage": Unimplemented,