7311: Remove unused constructor from AbstractPeerBlockValidator (#7782)

Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
pull/7615/head
Matilda-Clerke 1 month ago committed by GitHub
parent 2169985ee2
commit 111aadcb0c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 7
      ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/peervalidation/AbstractPeerBlockValidator.java

@ -54,13 +54,6 @@ abstract class AbstractPeerBlockValidator implements PeerValidator {
this.chainHeightEstimationBuffer = chainHeightEstimationBuffer;
}
protected AbstractPeerBlockValidator(
final ProtocolSchedule protocolSchedule,
final MetricsSystem metricsSystem,
final long blockNumber) {
this(protocolSchedule, metricsSystem, blockNumber, DEFAULT_CHAIN_HEIGHT_ESTIMATION_BUFFER);
}
@Override
public CompletableFuture<Boolean> validatePeer(
final EthContext ethContext, final EthPeer ethPeer) {

Loading…
Cancel
Save