Skip to content

Commit

Permalink
FIX: On restoreExtendedHeaderIntoPool use AddHeaderInShard
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusmihaic committed Feb 4, 2025
1 parent 51aaae2 commit e339b2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion process/block/sovereignChainBlock.go
Original file line number Diff line number Diff line change
Expand Up @@ -2054,7 +2054,7 @@ func (scbp *sovereignChainBlockProcessor) restoreExtendedHeaderIntoPool(extended
continue
}

headersPool.AddHeader(extendedHdrHash, extendedHdr)
headersPool.AddHeaderInShard(extendedHdrHash, extendedHdr, core.MainChainShardId)

extendedHdrStorer, err := scbp.store.GetStorer(dataRetriever.ExtendedShardHeadersUnit)
if err != nil {
Expand Down

0 comments on commit e339b2f

Please sign in to comment.