small usability tweak, fix lint
This commit is contained in:
parent
4f6dc0748d
commit
aa2cad1a66
@ -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")
|
||||||
|
@ -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{
|
||||||
|
Loading…
Reference in New Issue
Block a user