diff --git a/smart_contract/contracts/Token.sol b/smart_contract/contracts/Token.sol index 1003ea5..cff42eb 100644 --- a/smart_contract/contracts/Token.sol +++ b/smart_contract/contracts/Token.sol @@ -107,7 +107,11 @@ contract NFTMintDN404 is DN404, ERC20Permit, Ownable { // initialize the toggle live functionality function toggleLive() public onlyOwner { - live = !live + if (live) { + live = false; + } else { + live = true; + } } // initialize withdraw functionality