Move getinfo RPC method to askwallet list.
The getinfo RPC method requires access to information only available in the wallet. Therefore, it has been moved to the list of methods which return an error information the caller to send the request to the wallet instead.
This commit is contained in:
parent
a5e5903caf
commit
72afc787e6
1 changed files with 1 additions and 1 deletions
|
@ -94,6 +94,7 @@ var rpcAskWallet = map[string]bool{
|
|||
"getaddressesbyaccount": true,
|
||||
"getbalance": true,
|
||||
"getblocktemplate": true,
|
||||
"getinfo": true,
|
||||
"getnewaddress": true,
|
||||
"getrawchangeaddress": true,
|
||||
"getreceivedbyaccount": true,
|
||||
|
@ -131,7 +132,6 @@ var rpcAskWallet = map[string]bool{
|
|||
|
||||
// Commands that are temporarily unimplemented.
|
||||
var rpcUnimplemented = map[string]bool{
|
||||
"getinfo": true,
|
||||
"getmininginfo": true,
|
||||
"getnettotals": true,
|
||||
"getnetworkhashps": true,
|
||||
|
|
Loading…
Reference in a new issue