Skip to content

Commit

Permalink
Fix failing fuzz test
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkeating authored and apbendi committed Jan 25, 2024
1 parent 87283a8 commit d5dec22
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/UniStaker.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -1759,6 +1759,8 @@ contract ClaimReward is UniStakerRewardsTest {
uint256 _rewardAmount,
uint256 _durationPercent
) public {
vm.assume(_depositor != address(uniStaker));

(_stakeAmount, _rewardAmount) = _boundToRealisticStakeAndReward(_stakeAmount, _rewardAmount);
_durationPercent = bound(_durationPercent, 0, 100);

Expand Down

0 comments on commit d5dec22

Please sign in to comment.