Fix CVF-52

This commit is contained in:
poma 2021-03-21 01:01:35 +03:00
parent cd2ea92084
commit 15eaac2f2e
No known key found for this signature in database
GPG Key ID: BA20CB01FE165657
1 changed files with 2 additions and 0 deletions

View File

@ -14,6 +14,7 @@ contract TornadoProxy {
event EncryptedNote(address indexed sender, bytes encryptedNote);
event InstanceStateUpdate(ITornadoInstance indexed instance, InstanceState state);
event TornadoTreesUpdated(ITornadoTrees addr);
enum InstanceState { Disabled, Enabled, Mineable }
@ -100,6 +101,7 @@ contract TornadoProxy {
function setTornadoTreesContract(ITornadoTrees _tornadoTrees) external onlyGovernance {
tornadoTrees = _tornadoTrees;
emit TornadoTreesUpdated(_tornadoTrees);
}
/// @dev Method to claim junk and accidentally sent tokens