From 15eaac2f2e5a9d1a4faa252780d3ae97691c7257 Mon Sep 17 00:00:00 2001 From: poma Date: Sun, 21 Mar 2021 01:01:35 +0300 Subject: [PATCH] Fix CVF-52 --- contracts/TornadoProxy.sol | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contracts/TornadoProxy.sol b/contracts/TornadoProxy.sol index 2f454dd..702b3f4 100644 --- a/contracts/TornadoProxy.sol +++ b/contracts/TornadoProxy.sol @@ -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