Skip to content

Commit

Permalink
bugfix: Use updated header when adding pending bodies
Browse files Browse the repository at this point in the history
  • Loading branch information
wizeguyy committed Feb 8, 2023
1 parent 5aeb56f commit c3f3827
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -932,7 +932,7 @@ func (w *worker) FinalizeAssembleAndBroadcast(chain consensus.ChainHeaderReader,
block.Header().SetManifestHash(manifestHash)
block.Header().SetEtxRollupHash(etxRollupHash)

w.AddPendingBlockBody(header, block.Body())
w.AddPendingBlockBody(block.Header(), block.Body())

return block, nil
}
Expand Down

0 comments on commit c3f3827

Please sign in to comment.