Merge pull request #783 from filecoin-project/fix/bad-epost-mining

Fix/bad epost mining
This commit is contained in:
Łukasz Magiera
2019-12-09 18:27:24 +01:00
committed by GitHub
3 changed files with 13 additions and 4 deletions
+1 -1
View File
@@ -148,7 +148,7 @@ func (a *StateAPI) stateForTs(ctx context.Context, ts *types.TipSet) (*state.Sta
func (a *StateAPI) StateGetActor(ctx context.Context, actor address.Address, ts *types.TipSet) (*types.Actor, error) {
state, err := a.stateForTs(ctx, ts)
if err != nil {
return nil, err
return nil, xerrors.Errorf("computing tipset state failed: %w", err)
}
return state.GetActor(actor)