Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
thcrnk committed Jan 31, 2018
1 parent 933b534 commit f982c5e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 10 deletions.
2 changes: 1 addition & 1 deletion contracts/PriceEstimator/PriceEstimator.sol
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ contract PriceEstimator is IPriceEstimator, OwnableUpgradeableImplementation {

function estimate(address _meter, uint _liters) public view returns(uint256 amount, uint256 price) {
require(_meter != address(0));
require(_liters > 3000);
require(_liters >= 3000);
require(_liters % 1000 == 0);

uint256 householdSize = householdMetersContract.getHouseholdMembersCount(_meter);
Expand Down
9 changes: 0 additions & 9 deletions migrations/2_household.js

This file was deleted.

File renamed without changes.

0 comments on commit f982c5e

Please sign in to comment.