From adf675edd9f1436fb93140e6a8388fccc0dbb6af Mon Sep 17 00:00:00 2001 From: poma Date: Sun, 21 Mar 2021 01:01:44 +0300 Subject: [PATCH] Rename event --- contracts/TornadoProxy.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/TornadoProxy.sol b/contracts/TornadoProxy.sol index 702b3f4..d4132fb 100644 --- a/contracts/TornadoProxy.sol +++ b/contracts/TornadoProxy.sol @@ -13,7 +13,7 @@ contract TornadoProxy { using SafeERC20 for IERC20; event EncryptedNote(address indexed sender, bytes encryptedNote); - event InstanceStateUpdate(ITornadoInstance indexed instance, InstanceState state); + event InstanceStateUpdated(ITornadoInstance indexed instance, InstanceState state); event TornadoTreesUpdated(ITornadoTrees addr); enum InstanceState { Disabled, Enabled, Mineable } @@ -139,6 +139,6 @@ contract TornadoProxy { token.safeApprove(address(_tornado.addr), 0); } } - emit InstanceStateUpdate(_tornado.addr, _tornado.instance.state); + emit InstanceStateUpdated(_tornado.addr, _tornado.instance.state); } }