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
commit 53cba157e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)
}