diff --git a/core/vm/contracts.go b/core/vm/contracts.go index 736341be1..3fa2eb8b7 100644 --- a/core/vm/contracts.go +++ b/core/vm/contracts.go @@ -1430,7 +1430,7 @@ func (c *verifyDoubleSignEvidence) Run(input []byte) ([]byte, error) { } // basic check - if header1.Number.Uint64() != header2.Number.Uint64() { + if header1.Number.Cmp(header2.Number) != 0 { return nil, ErrExecutionReverted } if header1.ParentHash != header2.ParentHash {