fix lint errors

This commit is contained in:
whyrusleeping
2020-09-07 16:12:44 -07:00
parent 97af576f6a
commit 26ec0716b9
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -101,7 +101,7 @@ func UpgradeFaucetBurnRecovery(ctx context.Context, sm *StateManager, tree types
lbtree = state
return nil
}); err != nil {
return xerrors.Errorf("loading state tree failed: %w")
return xerrors.Errorf("loading state tree failed: %w", err)
}
ReserveAddress, err := address.NewFromString("t090")
+3
View File
@@ -224,6 +224,9 @@ var chainBalanceStateCmd = &cli.Command{
infos = append(infos, ai)
return nil
})
if err != nil {
return xerrors.Errorf("failed to loop over actors: %w", err)
}
if minerInfo {
fmt.Printf("Address,Balance,Type,Sectors,Worker,Owner,InitialPledge,Locked,PreCommits\n")