Skip to content

Commit

Permalink
fixed build
Browse files Browse the repository at this point in the history
  • Loading branch information
Sidu28 committed Oct 10, 2024
1 parent 3453c19 commit e3a6c44
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions contracts/script/utils/SetupPaymentsLib.sol
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,9 @@ library SetupPaymentsLib {
address strategy,
uint32 rewardsCalculationEndTimestamp,
uint256 NUM_PAYMENTS,
uint256 NUM_TOKEN_EARNINGS,
uint256 TOKEN_EARNINGS
uint256 NUM_TOKEN_EARNINGS
) internal {
bytes32 paymentRoot = createPaymentRoot(rewardsCoordinator, tokenLeaves, earnerLeaves, NUM_PAYMENTS, NUM_TOKEN_EARNINGS, TOKEN_EARNINGS, strategy);
bytes32 paymentRoot = createPaymentRoot(rewardsCoordinator, tokenLeaves, earnerLeaves, NUM_PAYMENTS, NUM_TOKEN_EARNINGS, strategy);
rewardsCoordinator.submitRoot(paymentRoot, rewardsCalculationEndTimestamp);
}

Expand All @@ -100,7 +99,6 @@ library SetupPaymentsLib {
IRewardsCoordinator.EarnerTreeMerkleLeaf[] memory earnerLeaves,
uint256 NUM_PAYMENTS,
uint256 NUM_TOKEN_EARNINGS,
uint256 TOKEN_EARNINGS,
address strategy
) internal returns (bytes32) {
require(earnerLeaves.length == NUM_PAYMENTS, "Number of earners must match number of payments");
Expand Down

0 comments on commit e3a6c44

Please sign in to comment.