Skip to content

Commit

Permalink
Fixed formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
aminlatifi committed Jan 21, 2025
1 parent 0bf0d6d commit c3b4422
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion contracts/GardenUnipoolTokenDistributor.sol
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ contract GardenUnipoolTokenDistributor is LPTokenWrapper, TokenManagerHook, Owna
(uint256 allocatedTokens,) = abi.decode(data, (uint256, uint256));

require(allocatedTokens >= _reward, 'UnipoolTokenDistributor: NOT_ENOUGH_TOKEND_ISTRO_BALANCE');

rewardRate = _reward.div(duration);
lastUpdateTime = _timestamp;
periodFinish = _timestamp.add(duration);
Expand Down
1 change: 0 additions & 1 deletion test/UnipoolTests/UnipoolNotifyReward.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ contract UnipoolNotifyReward is UnipoolGIVpowerTest {
vm.startPrank(givethMultisig);
tokenDistro.grantRole(tokenDistro.DISTRIBUTOR_ROLE(), address(givPower));
vm.stopPrank();

}

function testInBudgetNotifyReward() public {
Expand Down

0 comments on commit c3b4422

Please sign in to comment.