mirror of
https://github.com/status-im/ethereumj-personal.git
synced 2025-02-19 15:14:14 +00:00
add missed registration
This commit is contained in:
parent
df60b74193
commit
56cfca4667
@ -69,6 +69,14 @@ public class proxy extends JsonRpcServerMethod {
|
||||
deprecatedMethods.add("eth_submitWork");
|
||||
}
|
||||
|
||||
@Override
|
||||
public String[] handledRequests() {
|
||||
ArrayList<String> tmp = new ArrayList<String>();
|
||||
tmp.addAll(proxyMethods);
|
||||
tmp.addAll(deprecatedMethods);
|
||||
return tmp.toArray(new String[tmp.size()]);
|
||||
}
|
||||
|
||||
@Override
|
||||
public JSONRPC2Response process(JSONRPC2Request req, MessageContext ctx) {
|
||||
if (proxyMethods.contains(req.getMethod())) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user