Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
naddison36 committed Jul 11, 2024
1 parent ed090c4 commit badd0ff
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,12 @@ abstract contract ValidatorRegistrator is Governable, Pausable {
/// The `ValidatorStakeData` struct contains the pubkey, signature and depositDataRoot.
/// Only the registrator can call this function.
// slither-disable-start reentrancy-eth
function stakeEth(
ValidatorStakeData[] calldata validators
) external onlyRegistrator whenNotPaused nonReentrant {
function stakeEth(ValidatorStakeData[] calldata validators)
external
onlyRegistrator
whenNotPaused
nonReentrant
{
uint256 requiredETH = validators.length * FULL_STAKE;

// Check there is enough WETH from the deposits sitting in this strategy contract
Expand Down

0 comments on commit badd0ff

Please sign in to comment.