mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-08 23:18:15 -05:00
Process pending atts after pending blocks clear (#15824)
This commit is contained in:
@@ -147,6 +147,11 @@ func (s *Service) processPendingBlocks(ctx context.Context) error {
|
||||
}
|
||||
cancelFunction()
|
||||
|
||||
// Process pending attestations for this block.
|
||||
if err := s.processPendingAttsForBlock(ctx, blkRoot); err != nil {
|
||||
log.WithError(err).Debug("Failed to process pending attestations for block")
|
||||
}
|
||||
|
||||
// Remove the processed block from the queue.
|
||||
if err := s.removeBlockFromQueue(b, blkRoot); err != nil {
|
||||
return err
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
### Changed
|
||||
|
||||
- Process pending attestations after pending blocks are cleared
|
||||
Reference in New Issue
Block a user