mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 21:56:43 +00:00
internal/ethapi: twist the log
This commit is contained in:
parent
0119765c35
commit
8bf6d6abe3
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue