From fd4e3fe9ad554ee627dfa18445a6e91f99a4df11 Mon Sep 17 00:00:00 2001 From: Sowmayjain Date: Wed, 20 Mar 2019 00:38:09 +0530 Subject: [PATCH] renamed registry file.x --- contracts/{ProxyRegistry.sol => AddressRegistry.sol} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename contracts/{ProxyRegistry.sol => AddressRegistry.sol} (96%) diff --git a/contracts/ProxyRegistry.sol b/contracts/AddressRegistry.sol similarity index 96% rename from contracts/ProxyRegistry.sol rename to contracts/AddressRegistry.sol index 69bc113..3a471c0 100644 --- a/contracts/ProxyRegistry.sol +++ b/contracts/AddressRegistry.sol @@ -58,8 +58,8 @@ contract LogicRegistry is AddressRegistry { /** * @dev get the boolean of the logic contract * @param logicAddr is the logic proxy address - * @return bool is the logic proxy is authorised by system admin - * @return uint 0 for default proxy and 1 for changeable proxy + * @return bool logic proxy is authorised by system admin + * @return bool logic proxy is default proxy */ function isLogicAuth(address logicAddr) public view returns (bool, bool) { if (defaultLogicProxies[logicAddr]) { @@ -67,7 +67,7 @@ contract LogicRegistry is AddressRegistry { } else if (logicProxies[logicAddr]) { return (true, false); } else { - return false; + return (false, false); } }