mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-12 01:41:36 +00:00
consensus/clique: reject block access list hash in clique header signing
This commit is contained in:
parent
deda47f6a1
commit
cc1078dda6
1 changed files with 3 additions and 0 deletions
|
|
@ -697,6 +697,9 @@ func encodeSigHeader(w io.Writer, header *types.Header) {
|
|||
if header.ParentBeaconRoot != nil {
|
||||
panic("unexpected parent beacon root value in clique")
|
||||
}
|
||||
if header.BlockAccessListHash != nil {
|
||||
panic("unexpected block access list hash value in clique")
|
||||
}
|
||||
if header.SlotNumber != nil {
|
||||
panic("unexpected slot number value in clique")
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue