Skip to content

Commit

Permalink
IApplicationWithOperator: removes optional registerOperator
Browse files Browse the repository at this point in the history
  • Loading branch information
vzotova committed Nov 20, 2023
1 parent 93d5b92 commit 57889e2
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions contracts/staking/IApplicationWithOperator.sol
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,4 @@ interface IApplicationWithOperator is IApplication {
/// the staking provider.
function registerOperator(address operator) external;

Check warning on line 42 in contracts/staking/IApplicationWithOperator.sol

View workflow job for this annotation

GitHub Actions / code-lint-and-format

Function order is incorrect, external function can not go after external view function (line 29)

// TODO consider that?
// /// @notice Used by additional role (owner for example) to set operator address that will
// /// operate a node for the specified staking provider.
// function registerOperator(address stakingProvider, address operator) external;
}

0 comments on commit 57889e2

Please sign in to comment.