mirror of
https://github.com/tornadocash/tornado-anonymity-mining.git
synced 2024-11-21 17:27:08 +01:00
Fix CVF-52
This commit is contained in:
parent
cd2ea92084
commit
15eaac2f2e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user