-
Notifications
You must be signed in to change notification settings - Fork 11.9k
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
Improve encapsulation on BreakInvariantBounty #1267
Improve encapsulation on BreakInvariantBounty #1267
Conversation
b5f5991
to
780125b
Compare
I rebased on |
* @dev Determine if the bounty was claimed. | ||
* @return true if the bounty was claimed, false otherwise. | ||
*/ | ||
function wasClaimed() public view returns(bool) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@frangio what should I do here? Rename the function to claimed
or rename the variable to wasClaimed
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like claimed
. I'm not sure about wasClaimed
because in English the correct thing would be "has been claimed".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks!
This is part of #1174.
Requires #1253.
npm run lint:all:fix
).