Skip to content

Commit

Permalink
Slight assert fix
Browse files Browse the repository at this point in the history
  • Loading branch information
andytudhope committed Mar 18, 2019
1 parent 0ef3467 commit e470285
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vyper/DAppStore.vy
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def _downvote(_from: address, _id: bytes32, _percentDown: uint256):
@param _id Unique identifier for the dapp
@param _percentDown The % of SNT staked on the DApp user would like "removed" from the rank
"""
assert _percentDown >= 500 and _percentDown <= 500
assert _percentDown >= 100 and _percentDown <= 500

dappIdx: uint256 = self.idToIdx[_id]
dapp: Data = self.dapps[dappIdx]
Expand Down

0 comments on commit e470285

Please sign in to comment.