Merge pull request #1121 from filecoin-project/fix/mpool-stat-errs

mpool stat: Don't exit on StateGetActor error
This commit is contained in:
Jakub Sztandera 2020-01-21 17:13:57 +01:00 committed by GitHub
commit 2594ff6233
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -124,7 +124,8 @@ var mpoolStat = &cli.Command{
for a, bkt := range buckets {
act, err := api.StateGetActor(ctx, a, ts)
if err != nil {
return err
fmt.Printf("%s, err: %s\n", a, err)
continue
}
cur := act.Nonce