Skip to content

Commit 7785b68

Browse files
committed
Fix typos
1 parent 00e1ca4 commit 7785b68

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

contracts/staking/IStakeHolder.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ interface IStakeHolder is IAccessControlEnumerableUpgradeable {
4242
/// @dev There will also be one StakeAdded event for each recipient.
4343
event Distributed(address _distributor, uint256 _totalDistribution, uint256 _numRecipients);
4444

45-
/// @notice Error: Unstake native value transfer failed with revert with no revert informaiton.
45+
/// @notice Error: Unstake native value transfer failed with revert with no revert information.
4646
/// @dev An error was detected by the EVM. For example a function call to an address with no contract associated with it.
4747
error UnstakeTransferFailed();
4848

@@ -67,7 +67,7 @@ interface IStakeHolder is IAccessControlEnumerableUpgradeable {
6767
/**
6868
* @notice Distribute rewards to stakers.
6969
* @dev Only callable by accounts with DISTRIBUTE_ROLE.
70-
* @dev Receipients must have staked value prior to this function call.
70+
* @dev Recipients must have staked value prior to this function call.
7171
* @param _recipientsAndAmounts An array of recipients to distribute value to and
7272
* amounts to be distributed to each recipient.
7373
*/

contracts/staking/StakeHolderBaseV2.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ abstract contract StakeHolderBaseV2 is IStakeHolderV2, StakeHolderBase {
8080
* @param _recipientsAndAmounts An array of recipients to distribute value to and
8181
* amounts to be distributed to each recipient.
8282
* @param _existingAccountsOnly If true, revert if the account has never been used.
83-
* @return _total Value distirbuted.
83+
* @return _total Value distributed.
8484
*/
8585
function _distributeRewards(
8686
AccountAmount[] calldata _recipientsAndAmounts,

0 commit comments

Comments
 (0)