add a few missing and fix misspelled commands.
This commit is contained in:
parent
ea7947f74e
commit
997d98bddf
1 changed files with 5 additions and 3 deletions
|
@ -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
|
// For commands that return a single item (or no items), we get it with
|
||||||
// the correct concrete type for free (but treat them separately
|
// the correct concrete type for free (but treat them separately
|
||||||
// for clarity).
|
// for clarity).
|
||||||
case "getblockcount", "getbalance", "getblocknumber", "getgenerate",
|
case "getblockcount", "getbalance", "getblockhash", "getgenerate",
|
||||||
"getconnetioncount", "getdifficulty", "gethashespersec",
|
"getconnectioncount", "getdifficulty", "gethashespersec",
|
||||||
"setgenerate", "stop", "settxfee", "getaccount",
|
"setgenerate", "stop", "settxfee", "getaccount",
|
||||||
"getnewaddress", "sendtoaddress", "createrawtransaction",
|
"getnewaddress", "sendtoaddress", "createrawtransaction",
|
||||||
"sendrawtransaction", "getbestblockhash", "getrawchangeaddress":
|
"sendrawtransaction", "getbestblockhash", "getrawchangeaddress",
|
||||||
|
"sendfrom", "sendmany", "addmultisigaddress", "getunconfirmedbalance",
|
||||||
|
"getaccountaddress":
|
||||||
err = json.Unmarshal(message, &result)
|
err = json.Unmarshal(message, &result)
|
||||||
default:
|
default:
|
||||||
// None of the standard Bitcoin RPC methods matched. Try
|
// None of the standard Bitcoin RPC methods matched. Try
|
||||||
|
|
Loading…
Reference in a new issue