mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 09:53:48 +00:00
Update cmd/evm/runner.go
Co-authored-by: Martin HS <martin@swende.se>
This commit is contained in:
parent
dc78fceb7a
commit
39a39ce0da
1 changed files with 3 additions and 4 deletions
|
|
@ -301,10 +301,9 @@ func runCmd(ctx *cli.Context) error {
|
|||
}
|
||||
|
||||
bench := ctx.Bool(BenchFlag.Name)
|
||||
output, stats, execErr, benchErr := timedExec(bench, execFunc)
|
||||
if benchErr != nil {
|
||||
fmt.Printf("benchmarking execution failed: %v\n", benchErr)
|
||||
return benchErr
|
||||
output, stats, execErr, err := timedExec(bench, execFunc)
|
||||
if err != nil {
|
||||
return fmt.Errorf("benchmarking failed: %v\n", err)
|
||||
}
|
||||
|
||||
if ctx.Bool(DumpFlag.Name) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue