copy BAL hash in CopyHeader

This commit is contained in:
Jared Wasinger 2026-02-17 10:40:48 -05:00
parent 9567f45d96
commit eb53bfe164

View file

@ -337,6 +337,10 @@ func CopyHeader(h *Header) *Header {
cpy.SlotNumber = new(uint64)
*cpy.SlotNumber = *h.SlotNumber
}
if h.BlockAccessListHash != nil {
cpy.BlockAccessListHash = new(common.Hash)
*cpy.BlockAccessListHash = *h.BlockAccessListHash
}
return &cpy
}