Skip to content

Commit d27972b

Browse files
fix: rewardForTranscoderWithHint, _rewardWithHint comments to mention _transcoder
1 parent fa8522e commit d27972b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

contracts/bonding/BondingManager.sol

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -889,13 +889,13 @@ contract BondingManager is ManagerProxyTarget, IBondingManager {
889889

890890
/**
891891
* @notice Mint token rewards for an active transcoder and its delegators and update the transcoder pool using an optional list hint if needed
892-
* @dev If the caller is in the transcoder pool, the caller can provide an optional hint for its insertion position in the
892+
* @dev If the `_transcoder` is in the transcoder pool, the caller can provide an optional hint for its insertion position in the
893893
* pool via the `_newPosPrev` and `_newPosNext` params. A linear search will be executed starting at the hint to find the correct position.
894894
* In the best case, the hint is the correct position so no search is executed. See SortedDoublyLL.sol for details on list hints
895895
* @dev Only callable by trusted rewardCaller
896896
* @param _transcoder Address of the transcoder on behalf of which the reward is called
897-
* @param _newPosPrev Address of previous transcoder in pool if the caller is in the pool
898-
* @param _newPosNext Address of next transcoder in pool if the caller is in the pool
897+
* @param _newPosPrev Address of previous transcoder in pool if the `_transcoder` is in the pool
898+
* @param _newPosNext Address of previous transcoder in pool if the `_transcoder` is in the pool
899899
*/
900900
function rewardForTranscoderWithHint(
901901
address _transcoder,
@@ -909,7 +909,7 @@ contract BondingManager is ManagerProxyTarget, IBondingManager {
909909

910910
/**
911911
* @notice Mint token rewards for an active transcoder and its delegators and update the transcoder pool using an optional list hint if needed
912-
* @dev If the caller is in the transcoder pool, the caller can provide an optional hint for its insertion position in the
912+
* @dev If the `_transcoder` is in the transcoder pool, the caller can provide an optional hint for its insertion position in the
913913
* pool via the `_newPosPrev` and `_newPosNext` params. A linear search will be executed starting at the hint to find the correct position.
914914
* In the best case, the hint is the correct position so no search is executed. See SortedDoublyLL.sol for details on list hints
915915
* @param _transcoder Address of the transcoder on behalf of which the reward is called

0 commit comments

Comments
 (0)