Skip to content

Commit

Permalink
feat: Remove default rewards;
Browse files Browse the repository at this point in the history
  • Loading branch information
ludete committed Aug 1, 2024
1 parent 70a9973 commit 222dd62
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions contracts/factories/IncentivesFactory.sol
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ import {Incentives} from "../rewards/Incentive.sol";
contract IncentivesFactory is IIncentivesFactory {
/// @inheritdoc IIncentivesFactory
function createRewards(address _forwarder, address _pool) external returns (address incentiveReward) {
address[] memory rewards = new address[](1);
rewards[0] = _pool;
incentiveReward = address(new Incentives(_forwarder, msg.sender, rewards));
incentiveReward = address(new Incentives(_forwarder, msg.sender, new address[](0)));
}
}

0 comments on commit 222dd62

Please sign in to comment.