File tree 1 file changed +2
-6
lines changed
storage/src/main/java/tech/pegasys/teku/storage/server/kvstore/dataaccess
1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -336,16 +336,12 @@ public Optional<UInt64> getOptimisticTransitionBlockSlot() {
336
336
337
337
@ Override
338
338
public Optional <Bytes > getBlobSidecar (final SlotAndBlockRootAndBlobIndex key ) {
339
- return db .get (
340
- schema .getColumnBlobSidecarBySlotRootBlobIndex (),
341
- new SlotAndBlockRootAndBlobIndex (key .getSlot (), key .getBlockRoot (), key .getBlobIndex ()));
339
+ return db .get (schema .getColumnBlobSidecarBySlotRootBlobIndex (), key );
342
340
}
343
341
344
342
@ Override
345
343
public Optional <Bytes > getNonCanonicalBlobSidecar (final SlotAndBlockRootAndBlobIndex key ) {
346
- return db .get (
347
- schema .getColumnNonCanonicalBlobSidecarBySlotRootBlobIndex (),
348
- new SlotAndBlockRootAndBlobIndex (key .getSlot (), key .getBlockRoot (), key .getBlobIndex ()));
344
+ return db .get (schema .getColumnNonCanonicalBlobSidecarBySlotRootBlobIndex (), key );
349
345
}
350
346
351
347
@ MustBeClosed
You can’t perform that action at this time.
0 commit comments