rpc: drop useless cases from server
Let them be handled by `default` statement returning a proper error instead of plaintext message.
This commit is contained in:
parent
2b3fb14a4a
commit
3d6cf3a647
1 changed files with 0 additions and 4 deletions
|
@ -185,10 +185,6 @@ Methods:
|
|||
|
||||
results = peers
|
||||
|
||||
case "getblocksysfee", "getcontractstate", "getrawmempool", "getstorage", "submitblock", "gettxout", "invoke", "invokefunction", "invokescript":
|
||||
|
||||
results = "TODO"
|
||||
|
||||
case "validateaddress":
|
||||
param, err := reqParams.Value(0)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in a new issue