From d99c4452d783b1c446ed7870234df584afcb8923 Mon Sep 17 00:00:00 2001 From: David Ryan Date: Mon, 7 Oct 2024 15:17:00 +1100 Subject: [PATCH] Fix errors in test case. --- .../teku/storage/archive/nooparchive/NoopDataArchive.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/storage/src/main/java/tech/pegasys/teku/storage/archive/nooparchive/NoopDataArchive.java b/storage/src/main/java/tech/pegasys/teku/storage/archive/nooparchive/NoopDataArchive.java index b3dea6db0a0..759421f3e75 100644 --- a/storage/src/main/java/tech/pegasys/teku/storage/archive/nooparchive/NoopDataArchive.java +++ b/storage/src/main/java/tech/pegasys/teku/storage/archive/nooparchive/NoopDataArchive.java @@ -21,8 +21,10 @@ public class NoopDataArchive implements DataArchive { + private final DataArchiveWriter> BLOB_SIDECAR_WRITER = new DataArchiveNoopWriter<>(); + @Override public DataArchiveWriter> getBlobSidecarWriter() throws IOException { - return new DataArchiveNoopWriter<>(); + return BLOB_SIDECAR_WRITER; } }