mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-03-30 15:08:33 +00:00
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
@ -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…
x
Reference in New Issue
Block a user