Skip to content

Commit

Permalink
fixed spell miss
Browse files Browse the repository at this point in the history
  • Loading branch information
Rayerleier committed Jan 23, 2025
1 parent a86b308 commit 4a780ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/iBTC_NetworkMiddleware.sol
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ contract NetworkMiddleware is Initializable, SimpleKeyRegistry32, OwnableUpgrade

error OperatorNotOptedIn();
error OperatorNotRegistered();
error OperarorGracePeriodNotPassed();
error OperatorGracePeriodNotPassed();
error OperatorAlreadyRegistered();

error VaultAlreadyRegistered();
Expand Down Expand Up @@ -293,7 +293,7 @@ contract NetworkMiddleware is Initializable, SimpleKeyRegistry32, OwnableUpgrade
(, uint48 disabledTime) = operators.getTimes(operator);

if (disabledTime == 0 || disabledTime + SLASHING_WINDOW > Time.timestamp()) {
revert OperarorGracePeriodNotPassed();
revert OperatorGracePeriodNotPassed();
}

operators.remove(operator);
Expand Down

0 comments on commit 4a780ce

Please sign in to comment.