mirror of
https://github.com/kaspanet/kaspad.git
synced 2026-03-17 13:54:56 +00:00
add a few missing and fix misspelled commands.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user