mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 18:02:24 +00:00
remove unused code
This commit is contained in:
parent
cf774411a5
commit
fedbdee893
1 changed files with 0 additions and 7 deletions
|
|
@ -187,12 +187,5 @@ func runStateTest(ctx *cli.Context, fname string, cfg vm.Config, dump bool, benc
|
||||||
}
|
}
|
||||||
out, _ := json.MarshalIndent(results, "", " ")
|
out, _ := json.MarshalIndent(results, "", " ")
|
||||||
fmt.Println(string(out))
|
fmt.Println(string(out))
|
||||||
|
|
||||||
if !bench {
|
|
||||||
return nil
|
|
||||||
} else if len(matchingTests) != 1 {
|
|
||||||
return fmt.Errorf("can only benchmark single state test case (more than one matching params)")
|
|
||||||
}
|
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue