Skip to content

Commit

Permalink
fix L6
Browse files Browse the repository at this point in the history
  • Loading branch information
sanbir committed Nov 24, 2023
1 parent 901b78e commit 20b6a08
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/p2pSsvProxyFactory/P2pSsvProxyFactory.sol
Original file line number Diff line number Diff line change
Expand Up @@ -703,12 +703,13 @@ contract P2pSsvProxyFactory is OwnableAssetRecoverer, OwnableWithOperator, ERC16
);
}

bytes memory withdrawalCredentials = abi.encodePacked(
hex'010000000000000000000000',
_withdrawalCredentialsAddress
);

for (uint256 i = 0; i < validatorCount;) {
// ETH deposit
bytes memory withdrawalCredentials = abi.encodePacked(
hex'010000000000000000000000',
_withdrawalCredentialsAddress
);
i_depositContract.deposit{value: COLLATERAL}(
_ssvValidators[i].pubkey,
withdrawalCredentials,
Expand Down

0 comments on commit 20b6a08

Please sign in to comment.