Skip to content

Commit

Permalink
fix assemble
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanBratanov committed May 23, 2023
1 parent 22a8e1e commit 54ca43f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ public void saveProducedBlock(final SignedBlockContainer blockContainer) {
final UInt64 epoch = spec.computeEpochAtSlot(blockContainer.getSlot());
final Set<SlotAndBlockRoot> blocksInEpoch =
producedBlocksByEpoch.computeIfAbsent(epoch, __ -> concurrentSet());
blocksInEpoch.add(blockContainer.getSlotAndBlockRoot());
blocksInEpoch.add(blockContainer.getSignedBlock().getSlotAndBlockRoot());
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,6 @@ default Bytes32 getRoot() {
return getSignedBlock().getRoot();
}

default SlotAndBlockRoot getSlotAndBlockRoot() {
return getSignedBlock().getSlotAndBlockRoot();
}

default Optional<List<SignedBlobSidecar>> getSignedBlobSidecars() {
return Optional.empty();
}
Expand Down

0 comments on commit 54ca43f

Please sign in to comment.