Fix a double execution of the same method (#3021)

Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
pull/3023/head
fab-10 3 years ago committed by GitHub
parent 0ffe977f86
commit 90d45963e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/methods/AbstractBlockParameterMethod.java

@ -82,7 +82,6 @@ public abstract class AbstractBlockParameterMethod implements JsonRpcMethod {
requestContext.getRequest().getId(), ((JsonRpcErrorResponse) response).getError()); requestContext.getRequest().getId(), ((JsonRpcErrorResponse) response).getError());
} }
return new JsonRpcSuccessResponse( return new JsonRpcSuccessResponse(requestContext.getRequest().getId(), response);
requestContext.getRequest().getId(), findResultByParamType(requestContext));
} }
} }

Loading…
Cancel
Save