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…
Reference in New Issue