Skip to content

Commit 2fe9670

Browse files
committed
forge fmt
1 parent 1f755eb commit 2fe9670

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/ResolvingProxyFactory.sol

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,11 @@ library ResolvingProxyFactory {
6262
return address(new ResolvingProxy{salt: salt}(proxy, admin));
6363
}
6464

65-
function expensiveProxyAddress(address proxy, address admin, bytes32 salt) internal view returns (address predicted) {
65+
function expensiveProxyAddress(address proxy, address admin, bytes32 salt)
66+
internal
67+
view
68+
returns (address predicted)
69+
{
6670
bytes memory bytecode = abi.encodePacked(type(ResolvingProxy).creationCode, abi.encode(proxy, admin));
6771
bytes32 hash = keccak256(abi.encodePacked(bytes1(0xff), address(this), salt, keccak256(bytecode)));
6872
return address(uint160(uint256(hash)));

0 commit comments

Comments
 (0)