Skip to content

Commit

Permalink
continue pruning on error
Browse files Browse the repository at this point in the history
  • Loading branch information
rkapka committed Feb 18, 2025
1 parent 30e5a58 commit b2a0325
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beacon-chain/blockchain/process_block.go
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ func (s *Service) savePostStateInfo(ctx context.Context, r [32]byte, b interface
func (s *Service) pruneAttsFromPool(ctx context.Context, headState state.BeaconState, headBlock interfaces.ReadOnlySignedBeaconBlock) error {
for _, att := range headBlock.Block().Body().Attestations() {
if err := s.pruneCoveredAttsFromPool(ctx, headState, att); err != nil {
return err
log.WithError(err).Warn("Could not prune attestations covered by a received block's attestation")
}
}
return nil
Expand Down

0 comments on commit b2a0325

Please sign in to comment.