Merge pull request #5804 from zl03jsj/fix/StateManager.Replay

fix: StateManager.Replay
This commit is contained in:
Łukasz Magiera
2021-03-25 13:27:45 +01:00
committed by GitHub
+1 -1
View File
@@ -255,7 +255,7 @@ func (sm *StateManager) Replay(ctx context.Context, ts *types.TipSet, mcid cid.C
}
return nil
})
if err != nil && err != errHaltExecution {
if err != nil && !xerrors.Is(err, errHaltExecution) {
return nil, nil, xerrors.Errorf("unexpected error during execution: %w", err)
}