From d5dec22edbaecbdd043f7b6610897fda37bf6c06 Mon Sep 17 00:00:00 2001 From: keating Date: Thu, 25 Jan 2024 15:13:14 -0500 Subject: [PATCH] Fix failing fuzz test --- test/UniStaker.t.sol | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/UniStaker.t.sol b/test/UniStaker.t.sol index 1b8228c..d30e714 100644 --- a/test/UniStaker.t.sol +++ b/test/UniStaker.t.sol @@ -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);