Skip to content

Commit

Permalink
chore: updated function name
Browse files Browse the repository at this point in the history
  • Loading branch information
iamsahu committed Jul 18, 2024
1 parent c7afa6a commit 9149cb5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions contracts/src/OperatorsRegistry.1.sol
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ contract OperatorsRegistryV1 is IOperatorsRegistryV1, IVersionV1, Initializable,
return (publicKeys, signatures);
}

_getCountOfValidatorsFromEachOperator(operators, fundableOperatorCount, _count);
_updateCountOfPickedValidatorsForEachOperator(operators, fundableOperatorCount, _count);

// we loop on all operators
for (uint256 idx = 0; idx < fundableOperatorCount; ++idx) {
Expand Down Expand Up @@ -716,7 +716,7 @@ contract OperatorsRegistryV1 is IOperatorsRegistryV1, IVersionV1, Initializable,
return (new bytes[](0), new bytes[](0));
}

_getCountOfValidatorsFromEachOperator(operators, fundableOperatorCount, _count);
_updateCountOfPickedValidatorsForEachOperator(operators, fundableOperatorCount, _count);

// we loop on all operators
for (uint256 idx = 0; idx < fundableOperatorCount; ++idx) {
Expand All @@ -733,7 +733,7 @@ contract OperatorsRegistryV1 is IOperatorsRegistryV1, IVersionV1, Initializable,
}
}

function _getCountOfValidatorsFromEachOperator(
function _updateCountOfPickedValidatorsForEachOperator(
OperatorsV2.CachedOperator[] memory operators,
uint256 fundableOperatorCount,
uint256 _count
Expand Down

0 comments on commit 9149cb5

Please sign in to comment.