Skip to content

Commit

Permalink
Make _withdrawalCredentials function private
Browse files Browse the repository at this point in the history
  • Loading branch information
tsudmi committed Apr 2, 2024
1 parent e472c74 commit 3d601cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/vaults/modules/VaultEthStaking.sol
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ abstract contract VaultEthStaking is
* @dev Internal function for calculating Vault withdrawal credentials
* @return The credentials used for the validators withdrawals
*/
function _withdrawalCredentials() internal view virtual returns (bytes memory) {
function _withdrawalCredentials() private view returns (bytes memory) {
return abi.encodePacked(bytes1(0x01), bytes11(0x0), address(this));
}

Expand Down

0 comments on commit 3d601cb

Please sign in to comment.