Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
Signed-off-by: Tomás Migone <[email protected]>
  • Loading branch information
tmigone committed Jun 7, 2024
1 parent 79238c5 commit 0bf1d11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/contracts/contracts/rewards/RewardsManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ contract RewardsManager is RewardsManagerV5Storage, GraphUpgradeable, IRewardsMa
// - the new allocations on the subgraph service
uint256 subgraphAllocatedTokens = 0;
address[2] memory rewardsIssuers = [address(staking()), address(subgraphService)];
for (uint256256 i = 0; i < rewardsIssuers.length; i++) {
for (uint256 i = 0; i < rewardsIssuers.length; i++) {
if (rewardsIssuers[i] != address(0)) {
subgraphAllocatedTokens += IRewardsIssuer(rewardsIssuers[i]).getSubgraphAllocatedTokens(
_subgraphDeploymentID
Expand Down Expand Up @@ -343,7 +343,7 @@ contract RewardsManager is RewardsManagerV5Storage, GraphUpgradeable, IRewardsMa

// Check both the legacy and new allocations
address[2] memory rewardsIssuers = [address(staking()), address(subgraphService)];
fouint256int256 i = 0; i < rewardsIssuers.length; i++) {
for (uint256 i = 0; i < rewardsIssuers.length; i++) {
if (rewardsIssuers[i] != address(0)) {
if (IRewardsIssuer(rewardsIssuers[i]).isActiveAllocation(_allocationID)) {
rewardsIssuer = address(rewardsIssuers[i]);
Expand Down

0 comments on commit 0bf1d11

Please sign in to comment.