Skip to content

Conversation

@come-maiz
Copy link

This is part of #1174.
Requires #1253.

  • πŸ“˜ I've reviewed the OpenZeppelin Contributor Guidelines
  • βœ… I've added tests where applicable to test my new functionality.
  • πŸ“– I've made sure that my contracts are well-documented.
  • 🎨 I've run the JS/Solidity linters and fixed any issues (npm run lint:all:fix).

@come-maiz come-maiz added kind:improvement contracts Smart contract code. breaking change Changes that break backwards compatibility of the public API. labels Sep 3, 2018
@frangio frangio added this to the v2.0 milestone Sep 3, 2018
@frangio frangio force-pushed the refactor/1174/private-state-vars-bounty branch from b5f5991 to 780125b Compare September 3, 2018 21:29
@frangio
Copy link
Contributor

frangio commented Sep 3, 2018

I rebased on master.

* @dev Determine if the bounty was claimed.
* @return true if the bounty was claimed, false otherwise.
*/
function wasClaimed() public view returns(bool) {
Copy link
Author

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?

Copy link
Contributor

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".

Copy link
Contributor

@frangio frangio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks!

@frangio frangio merged commit 2aa5dd2 into OpenZeppelin:master Sep 5, 2018
@come-maiz come-maiz deleted the refactor/1174/private-state-vars-bounty branch September 5, 2018 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking change Changes that break backwards compatibility of the public API. contracts Smart contract code.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants