error check
This commit is contained in:
parent
6d90f12bb6
commit
e2d2af3afa
@ -883,6 +883,9 @@ var slashConsensusFault = &cli.Command{
|
||||
BlockHeader1: bh1,
|
||||
BlockHeader2: bh2,
|
||||
})
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
if cctx.String("miner") == "" {
|
||||
return xerrors.Errorf("--miner flag is required")
|
||||
|
Loading…
Reference in New Issue
Block a user