mirror of
https://github.com/tornadocash/deployer.git
synced 2025-01-15 15:28:43 +01:00
change event to tx origin
This commit is contained in:
parent
bd9e621622
commit
5b83810b44
@ -11,7 +11,7 @@ contract Deployer {
|
|||||||
constructor(IDeployer _deployer) public {
|
constructor(IDeployer _deployer) public {
|
||||||
// Use EIP-2470 SingletonFactory address by default
|
// Use EIP-2470 SingletonFactory address by default
|
||||||
deployer = address(_deployer) == address(0) ? IDeployer(0xce0042B868300000d44A59004Da54A005ffdcf9f) : _deployer;
|
deployer = address(_deployer) == address(0) ? IDeployer(0xce0042B868300000d44A59004Da54A005ffdcf9f) : _deployer;
|
||||||
emit Deployed(msg.sender, address(this));
|
emit Deployed(tx.origin, address(this));
|
||||||
}
|
}
|
||||||
|
|
||||||
event Deployed(address indexed sender, address indexed addr);
|
event Deployed(address indexed sender, address indexed addr);
|
||||||
|
Loading…
Reference in New Issue
Block a user