diff --git a/internal/ethapi/api.go b/internal/ethapi/api.go index 70aa22dafb..db0297ae5a 100644 --- a/internal/ethapi/api.go +++ b/internal/ethapi/api.go @@ -1837,7 +1837,7 @@ func (api *DebugAPI) SetHead(number hexutil.Uint64) error { return errors.New("current header is not available") } if header.Number.Uint64() <= uint64(number) { - return errors.New("not allowed to rewind to a later block") + return errors.New("not allowed to rewind to a future block") } api.b.SetHead(uint64(number)) return nil