-
Notifications
You must be signed in to change notification settings - Fork 34
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
Create enums for cover status #41
Comments
changes updated in git, check if any issue. |
Changes still pending in functions like expireCover. Please recheck. |
Changes have been made. Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As requested in the last audit report, we should create enum for cover status and use these instead of status numbers. eg
enum CoverStatus {Active, ClaimAccepted, ClaimDenied, CoverExpired, ClaimSubmitted, Requested };
and then use them likeqd.getCoverStatusNo(_cid) != uint(CoverStatus .CoverExpired)
instead ofqd.getCoverStatusNo(_cid) != 3
The text was updated successfully, but these errors were encountered: