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 EncryptedNote(address indexed sender, bytes encryptedNote);
|
||||||
event InstanceStateUpdate(ITornadoInstance indexed instance, InstanceState state);
|
event InstanceStateUpdate(ITornadoInstance indexed instance, InstanceState state);
|
||||||
|
event TornadoTreesUpdated(ITornadoTrees addr);
|
||||||
|
|
||||||
enum InstanceState { Disabled, Enabled, Mineable }
|
enum InstanceState { Disabled, Enabled, Mineable }
|
||||||
|
|
||||||
@ -100,6 +101,7 @@ contract TornadoProxy {
|
|||||||
|
|
||||||
function setTornadoTreesContract(ITornadoTrees _tornadoTrees) external onlyGovernance {
|
function setTornadoTreesContract(ITornadoTrees _tornadoTrees) external onlyGovernance {
|
||||||
tornadoTrees = _tornadoTrees;
|
tornadoTrees = _tornadoTrees;
|
||||||
|
emit TornadoTreesUpdated(_tornadoTrees);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// @dev Method to claim junk and accidentally sent tokens
|
/// @dev Method to claim junk and accidentally sent tokens
|
||||||
|
Loading…
Reference in New Issue
Block a user