mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-09 15:37:56 -05:00
Propagate blocks again after we process it in pending blocks queue (#4714)
* propagate blocks again after we process it in pending blocks queue * Merge refs/heads/master into reprop-block
This commit is contained in:
@@ -100,6 +100,11 @@ func (r *Service) processPendingBlocks(ctx context.Context) error {
|
||||
traceutil.AnnotateError(span, err)
|
||||
}
|
||||
|
||||
// Broadcasting the block again once a node is able to process it.
|
||||
if err := r.p2p.Broadcast(ctx, b); err != nil {
|
||||
log.WithError(err).Error("Failed to broadcast block")
|
||||
}
|
||||
|
||||
blkRoot, err := ssz.HashTreeRoot(b.Block)
|
||||
if err != nil {
|
||||
traceutil.AnnotateError(span, err)
|
||||
|
||||
Reference in New Issue
Block a user