mirror of
https://github.com/tornadocash/tornado-core.git
synced 2025-09-21 05:14:59 -04:00
update solidity to 0.7.6
This commit is contained in:
parent
f189a657c9
commit
54a7bdcb04
14 changed files with 23 additions and 23 deletions
|
@ -10,7 +10,7 @@
|
|||
*/
|
||||
|
||||
// SPDX-License-Identifier: MIT
|
||||
pragma solidity ^0.6.0;
|
||||
pragma solidity ^0.7.0;
|
||||
|
||||
import "./ERC20Tornado.sol";
|
||||
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
|
||||
|
@ -26,7 +26,7 @@ contract cTornado is ERC20Tornado {
|
|||
uint256 _denomination,
|
||||
uint32 _merkleTreeHeight,
|
||||
IERC20 _token
|
||||
) public ERC20Tornado(_verifier, _hasher, _denomination, _merkleTreeHeight, _token) {
|
||||
) ERC20Tornado(_verifier, _hasher, _denomination, _merkleTreeHeight, _token) {
|
||||
require(address(_comp) != address(0), "Invalid COMP token address");
|
||||
comp = _comp;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue