mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
cmd/geth: simplify error syntax
This commit is contained in:
parent
ffbea7ddee
commit
6fc42a20cc
1 changed files with 1 additions and 1 deletions
|
|
@ -248,7 +248,7 @@ func dumpGenesis(ctx *cli.Context) error {
|
|||
genesis = core.DefaultGenesisBlock()
|
||||
}
|
||||
if err := json.NewEncoder(os.Stdout).Encode(genesis); err != nil {
|
||||
utils.Fatalf("could not encode defaulty genesis")
|
||||
utils.Fatalf("could not encode genesis")
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue