class IbftDiscardValidatorVote implements JsonRpcMethod {

  @Override
  public JsonRpcResponse response(final JsonRpcRequestContext requestContext) {
    final Address validatorAddress = requestContext.getRequiredParameter(0, Address.class);
    LOG.trace("Received RPC rpcName={} address={}", getName(), validatorAddress);
    voteProposer.discard(validatorAddress);

    return new JsonRpcSuccessResponse(requestContext.getRequest().getId(), true);
  }

  public  IbftDiscardValidatorVote(final VoteProposer voteProposer);

}