mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-02-26 07:37:20 +00:00
copy BAL hash in CopyHeader
This commit is contained in:
parent
9567f45d96
commit
eb53bfe164
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue