add a few missing and fix misspelled commands.

This commit is contained in:
David Hill 2014-04-12 10:47:07 -04:00
parent ea7947f74e
commit 997d98bddf

View file

@ -531,11 +531,13 @@ func ReadResultCmd(cmd string, message []byte) (Reply, error) {
// For commands that return a single item (or no items), we get it with
// the correct concrete type for free (but treat them separately
// for clarity).
case "getblockcount", "getbalance", "getblocknumber", "getgenerate",
"getconnetioncount", "getdifficulty", "gethashespersec",
case "getblockcount", "getbalance", "getblockhash", "getgenerate",
"getconnectioncount", "getdifficulty", "gethashespersec",
"setgenerate", "stop", "settxfee", "getaccount",
"getnewaddress", "sendtoaddress", "createrawtransaction",
"sendrawtransaction", "getbestblockhash", "getrawchangeaddress":
"sendrawtransaction", "getbestblockhash", "getrawchangeaddress",
"sendfrom", "sendmany", "addmultisigaddress", "getunconfirmedbalance",
"getaccountaddress":
err = json.Unmarshal(message, &result)
default:
// None of the standard Bitcoin RPC methods matched. Try