diff --git a/networking/eth2/src/test/java/tech/pegasys/teku/networking/eth2/rpc/core/Eth2OutgoingRequestHandlerTest.java b/networking/eth2/src/test/java/tech/pegasys/teku/networking/eth2/rpc/core/Eth2OutgoingRequestHandlerTest.java index bf9121ce4b7..7494910243c 100644 --- a/networking/eth2/src/test/java/tech/pegasys/teku/networking/eth2/rpc/core/Eth2OutgoingRequestHandlerTest.java +++ b/networking/eth2/src/test/java/tech/pegasys/teku/networking/eth2/rpc/core/Eth2OutgoingRequestHandlerTest.java @@ -19,7 +19,6 @@ import static org.mockito.Mockito.never; import static org.mockito.Mockito.verify; -import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.concurrent.atomic.AtomicReference; @@ -321,11 +320,6 @@ private void sendInitialPayload() { reqHandler.handleInitialPayloadSent(rpcStream); } - private void deliverInitialBytes() throws IOException { - final Bytes firstByte = chunks.get(0).slice(0, 1); - deliverBytes(firstByte); - } - private Bytes chunkBytes(final int chunk) { final SignedBeaconBlock block = dataStructureUtil.randomSignedBeaconBlock(chunk); return responseEncoder.encodeSuccessfulResponse(block);