diff --git a/networking/eth2/src/test/java/tech/pegasys/teku/networking/eth2/ActiveEth2P2PNetworkTest.java b/networking/eth2/src/test/java/tech/pegasys/teku/networking/eth2/ActiveEth2P2PNetworkTest.java index 12ed1b6764f..52f069b46ff 100644 --- a/networking/eth2/src/test/java/tech/pegasys/teku/networking/eth2/ActiveEth2P2PNetworkTest.java +++ b/networking/eth2/src/test/java/tech/pegasys/teku/networking/eth2/ActiveEth2P2PNetworkTest.java @@ -285,7 +285,8 @@ void isCloseToInSync_shouldCalculateWhenDistanceInRange() { void isCloseToInSync_shouldReturnFalseWhenEmptyCurrentEpoch() { final StorageSystem storageSystem = InMemoryStorageSystemBuilder.buildDefault(); final RecentChainData recentChainData = storageSystem.recentChainData(); - final ActiveEth2P2PNetwork network = new ActiveEth2P2PNetwork( + final ActiveEth2P2PNetwork network = + new ActiveEth2P2PNetwork( spec, asyncRunner, discoveryNetwork,