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

Replace checks with modifiers #127

Merged
merged 1 commit into from
May 15, 2018
Merged

Conversation

fvictorio
Copy link
Contributor

@fvictorio fvictorio commented May 14, 2018

Part of the audit findings See BlockchainLabsNZ#1

Replace checks with modifiers.

@ghost ghost assigned fvictorio May 14, 2018
@ghost ghost added the in progress label May 14, 2018
@coveralls
Copy link

Pull Request Test Coverage Report for Build 394

  • 6 of 6 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.4%) to 79.042%

Totals Coverage Status
Change from base Build 392: -0.4%
Covered Lines: 941
Relevant Lines: 1166

💛 - Coveralls

string name,
uint256 creationBlock,
uint256 confirmationBlock,
bytes32 keccakIdentifier
) {
require(userExists(wallet));
uint256 _confirmationBlock = PhysicalAddressClaim.decodeConfirmation(registry.getClaim(
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I had to move this back to a variable to avoid a Stack too deep compiler error.

Copy link
Contributor

@phahulin phahulin left a comment

Choose a reason for hiding this comment

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

LGTM

@garatortiz garatortiz merged commit 92d3506 into master May 15, 2018
@ghost ghost removed the in progress label May 15, 2018
@garatortiz garatortiz deleted the replace-check-with-modifiers branch May 15, 2018 14:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants