diff --git a/consensus/bor/bor.go b/consensus/bor/bor.go index 8f3247fe6f..6d53de57f4 100644 --- a/consensus/bor/bor.go +++ b/consensus/bor/bor.go @@ -172,6 +172,12 @@ func encodeSigHeader(w io.Writer, header *types.Header, c *params.BorConfig) { } } + if header.WithdrawalsHash != nil { + //nolint + header.WithdrawalsHash = nil + log.Warn("Bor does not support withdrawals", "number", header.Number) + } + if err := rlp.Encode(w, enc); err != nil { panic("can't encode: " + err.Error()) }