diff --git a/contracts/ERC20Mixer.sol b/contracts/ERC20Mixer.sol index fdee640..0a03c4d 100644 --- a/contracts/ERC20Mixer.sol +++ b/contracts/ERC20Mixer.sol @@ -21,7 +21,7 @@ contract ERC20Mixer is Mixer { uint256 _denomination, uint8 _merkleTreeHeight, uint256 _emptyElement, - address payable _operator, + address _operator, address _token ) Mixer(_verifier, _denomination, _merkleTreeHeight, _emptyElement, _operator) public { token = _token; diff --git a/contracts/ETHMixer.sol b/contracts/ETHMixer.sol index 44ebc60..b575ce5 100644 --- a/contracts/ETHMixer.sol +++ b/contracts/ETHMixer.sol @@ -19,7 +19,7 @@ contract ETHMixer is Mixer { uint256 _denomination, uint8 _merkleTreeHeight, uint256 _emptyElement, - address payable _operator + address _operator ) Mixer(_verifier, _denomination, _merkleTreeHeight, _emptyElement, _operator) public { } diff --git a/contracts/Mixer.sol b/contracts/Mixer.sol index caffbcb..619889e 100644 --- a/contracts/Mixer.sol +++ b/contracts/Mixer.sol @@ -28,7 +28,7 @@ contract Mixer is MerkleTreeWithHistory { // - receive a relayer fee // - disable new deposits in case of emergency // - update snark verification key until this ability is permanently disabled - address payable public operator; + address public operator; bool public isDepositsEnabled = true; bool public isVerifierUpdateAllowed = true; modifier onlyOperator { @@ -51,7 +51,7 @@ contract Mixer is MerkleTreeWithHistory { uint256 _denomination, uint8 _merkleTreeHeight, uint256 _emptyElement, - address payable _operator + address _operator ) MerkleTreeWithHistory(_merkleTreeHeight, _emptyElement) public { verifier = IVerifier(_verifier); operator = _operator; @@ -134,7 +134,7 @@ contract Mixer is MerkleTreeWithHistory { } /** @dev operator can change his address */ - function changeOperator(address payable _newAccount) external onlyOperator { + function changeOperator(address _newAccount) external onlyOperator { operator = _newAccount; } }