small usability tweak, fix lint

This commit is contained in:
whyrusleeping 2020-08-24 08:41:43 -07:00 committed by Łukasz Magiera
parent 4f6dc0748d
commit aa2cad1a66
2 changed files with 1 additions and 2 deletions

View File

@ -106,7 +106,7 @@ var mpoolClear = &cli.Command{
really := cctx.Bool("really-do-it") really := cctx.Bool("really-do-it")
if !really { if !really {
return fmt.Errorf("the --really-do-it flag must be specified for this action to have an effect; you have been warned") return fmt.Errorf("--really-do-it must be specified for this action to have an effect; you have been warned")
} }
local := cctx.Bool("local") local := cctx.Bool("local")

View File

@ -117,7 +117,6 @@ var genesisVerifyCmd = &cli.Command{
var st saacc.State var st saacc.State
if err := cst.Get(ctx, act.Head, &st); err != nil { if err := cst.Get(ctx, act.Head, &st); err != nil {
log.Warn(xerrors.Errorf("account actor %s: %w", addr, err)) log.Warn(xerrors.Errorf("account actor %s: %w", addr, err))
return nil
} }
kaccounts[addr] = addrInfo{ kaccounts[addr] = addrInfo{