mirror of
https://github.com/tornadocash/tornado-core.git
synced 2025-05-05 07:44:57 -04:00
pass verifier address as IVerifier
This commit is contained in:
parent
d019e48da3
commit
02e76a1ce6
3 changed files with 4 additions and 4 deletions
|
@ -47,13 +47,13 @@ contract Mixer is MerkleTreeWithHistory {
|
|||
@param _operator operator address (see operator above)
|
||||
*/
|
||||
constructor(
|
||||
address _verifier,
|
||||
IVerifier _verifier,
|
||||
uint256 _denomination,
|
||||
uint8 _merkleTreeHeight,
|
||||
uint256 _emptyElement,
|
||||
address _operator
|
||||
) MerkleTreeWithHistory(_merkleTreeHeight, _emptyElement) public {
|
||||
verifier = IVerifier(_verifier);
|
||||
verifier = _verifier;
|
||||
operator = _operator;
|
||||
denomination = _denomination;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue