From cd2ea92084d7ac2c0466971df82453120b1f68d8 Mon Sep 17 00:00:00 2001 From: poma Date: Sun, 21 Mar 2021 01:00:59 +0300 Subject: [PATCH] Fix CVF-53 --- contracts/TornadoProxy.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/TornadoProxy.sol b/contracts/TornadoProxy.sol index 44e9745..2f454dd 100644 --- a/contracts/TornadoProxy.sol +++ b/contracts/TornadoProxy.sol @@ -98,8 +98,8 @@ contract TornadoProxy { _updateInstance(_tornado); } - function setTornadoTreesContract(address _tornadoTrees) external onlyGovernance { - tornadoTrees = ITornadoTrees(_tornadoTrees); + function setTornadoTreesContract(ITornadoTrees _tornadoTrees) external onlyGovernance { + tornadoTrees = _tornadoTrees; } /// @dev Method to claim junk and accidentally sent tokens