mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
cmd/evm: fix flag-mismatch from #29290
This commit is contained in:
parent
de08f3d625
commit
719b2239d1
1 changed files with 2 additions and 2 deletions
|
|
@ -67,7 +67,7 @@ func stateTestCmd(ctx *cli.Context) error {
|
||||||
}
|
}
|
||||||
// Load the test content from the input file
|
// Load the test content from the input file
|
||||||
if len(ctx.Args().First()) != 0 {
|
if len(ctx.Args().First()) != 0 {
|
||||||
return runStateTest(ctx.Args().First(), cfg, ctx.Bool(MachineFlag.Name))
|
return runStateTest(ctx.Args().First(), cfg, ctx.Bool(DumpFlag.Name))
|
||||||
}
|
}
|
||||||
// Read filenames from stdin and execute back-to-back
|
// Read filenames from stdin and execute back-to-back
|
||||||
scanner := bufio.NewScanner(os.Stdin)
|
scanner := bufio.NewScanner(os.Stdin)
|
||||||
|
|
@ -76,7 +76,7 @@ func stateTestCmd(ctx *cli.Context) error {
|
||||||
if len(fname) == 0 {
|
if len(fname) == 0 {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
if err := runStateTest(fname, cfg, ctx.Bool(MachineFlag.Name)); err != nil {
|
if err := runStateTest(fname, cfg, ctx.Bool(DumpFlag.Name)); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue