Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix panic in OnDealExpiredSlashed #3553

Merged
merged 1 commit into from
Sep 5, 2020
Merged

Conversation

hannahhoward
Copy link
Contributor

Goals

The markets client node adapter is crashing in OnDealExpiredSlashed when a nil tipset is passed to check func

Implementation

Just skip checkFunc logic when nil tipset is passed -- similar to #3011

We should figure out why the events_called interface is passing nil tipsets to CheckFunc. I think there may be a bug in the tipset cache logic

check for nil tipset when check func is called to avoid panic
@magik6k magik6k merged commit 1454933 into master Sep 5, 2020
@magik6k magik6k deleted the fix/panic-in-expired-slashed branch September 5, 2020 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants