remove unused code

This commit is contained in:
Jared Wasinger 2024-10-04 20:05:33 +07:00
parent cf774411a5
commit fedbdee893

View file

@ -187,12 +187,5 @@ func runStateTest(ctx *cli.Context, fname string, cfg vm.Config, dump bool, benc
}
out, _ := json.MarshalIndent(results, "", " ")
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
}