diff --git a/chain/actors/builtin/datacap/util.go b/chain/actors/builtin/datacap/util.go index e1442055a..03e941d6e 100644 --- a/chain/actors/builtin/datacap/util.go +++ b/chain/actors/builtin/datacap/util.go @@ -54,6 +54,9 @@ func forEachClient(store adt.Store, ver actors.Version, root rootFunc, cb func(a } a, err := address.NewIDAddress(id) + if err != nil { + return xerrors.Errorf("creating ID address from actor ID: %w", err) + } return cb(a, big.Div(dcap, verifreg.DataCapGranularity)) })