Move getnewaddress RPC method to askwallet list.
The getnewaddress RPC method deals with wallet-related functionality and therefore 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
0bf4e0e097
commit
b9a641ab79
1 changed files with 1 additions and 1 deletions
|
@ -94,6 +94,7 @@ var rpcAskWallet = map[string]bool{
|
|||
"getaddressesbyaccount": true,
|
||||
"getbalance": true,
|
||||
"getblocktemplate": true,
|
||||
"getnewaddress": true,
|
||||
"getrawchangeaddress": true,
|
||||
"getreceivedbyaccount": true,
|
||||
"getreceivedbyaddress": true,
|
||||
|
@ -134,7 +135,6 @@ var rpcUnimplemented = map[string]bool{
|
|||
"getmininginfo": true,
|
||||
"getnettotals": true,
|
||||
"getnetworkhashps": true,
|
||||
"getnewaddress": true,
|
||||
}
|
||||
|
||||
// rpcServer holds the items the rpc server may need to access (config,
|
||||
|
|
Loading…
Reference in a new issue