Skip to content

Commit

Permalink
Merge pull request #14 from iotexproject/feat/new-more-incentive
Browse files Browse the repository at this point in the history
feat: Remove default rewards;
  • Loading branch information
ludete authored Aug 1, 2024
2 parents 3bbe7ab + 222dd62 commit 2876243
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 2876243

Please sign in to comment.