mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
Fix linter (unnecessary conversion)
This commit is contained in:
parent
a58ab05fc0
commit
d31490089c
1 changed files with 1 additions and 1 deletions
|
|
@ -566,7 +566,7 @@ func (api *RetestethAPI) RewindToBlock(ctx context.Context, newHead uint64) (boo
|
|||
if err := api.blockchain.SetHead(newHead); err != nil {
|
||||
return false, err
|
||||
}
|
||||
api.blockNumber = uint64(newHead)
|
||||
api.blockNumber = newHead
|
||||
return true, nil
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue