mirror of
https://github.com/Instadapp/yield-contract.git
synced 2024-07-29 21:47:29 +00:00
Fixed bug
This commit is contained in:
parent
72f42ac9bc
commit
659daa3b76
|
@ -92,7 +92,7 @@ contract InstaDeployer is Controller {
|
|||
// deploy create2 + minimal proxy
|
||||
function deployLogic(address owner, address logic) public returns (address proxy) {
|
||||
require(!(isFlusherDeployed(getAddress(owner, logic))), "flusher-already-deployed");
|
||||
bytes32 salt = keccak256(abi.encodePacked(owner, proxy));
|
||||
bytes32 salt = keccak256(abi.encodePacked(owner, logic));
|
||||
bytes20 targetBytes = bytes20(logic);
|
||||
// solium-disable-next-line security/no-inline-assembly
|
||||
assembly {
|
||||
|
|
Loading…
Reference in New Issue
Block a user