Skip to content
This repository has been archived by the owner on Jun 6, 2023. It is now read-only.

Miner: Incorrect bounds on SubmitWindowedPoSt params.Deadline #753

Closed
wadealexc opened this issue Jul 21, 2020 · 0 comments · Fixed by #789
Closed

Miner: Incorrect bounds on SubmitWindowedPoSt params.Deadline #753

wadealexc opened this issue Jul 21, 2020 · 0 comments · Fixed by #789
Assignees
Labels
bug Something isn't working P1 High priority, required for basic network functionality and growth

Comments

@wadealexc
Copy link

This check is incorrect:

if params.Deadline > WPoStPeriodDeadlines {
rt.Abortf(exitcode.ErrIllegalArgument, "invalid deadline %d of %d", params.Deadline, WPoStPeriodDeadlines)
}

Should be >=

@anorth anorth added bug Something isn't working P1 High priority, required for basic network functionality and growth labels Jul 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working P1 High priority, required for basic network functionality and growth
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants