Skip to content

Commit fc5cf42

Browse files
committed
continue pruning on error
1 parent a9ba4d2 commit fc5cf42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

beacon-chain/blockchain/process_block.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ func (s *Service) savePostStateInfo(ctx context.Context, r [32]byte, b interface
425425
func (s *Service) pruneAttsFromPool(ctx context.Context, headState state.BeaconState, headBlock interfaces.ReadOnlySignedBeaconBlock) error {
426426
for _, att := range headBlock.Block().Body().Attestations() {
427427
if err := s.pruneCoveredAttsFromPool(ctx, headState, att); err != nil {
428-
return err
428+
log.WithError(err).Warn("Could not prune attestations covered by a received block's attestation")
429429
}
430430
}
431431
return nil

0 commit comments

Comments
 (0)