aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/src
diff options
context:
space:
mode:
authorAmir Bandeali <abandeali1@gmail.com>2018-08-30 06:35:09 +0800
committerAmir Bandeali <abandeali1@gmail.com>2018-08-30 06:35:09 +0800
commitd80701c2779512324c7a9bef2a87b6f63239d281 (patch)
treeb35903f1951a683ee50db1908dcc1fc46b81c165 /packages/contracts/src
parentbf3ab1127d11a7530c1abe8236e149d3d96fd35b (diff)
downloaddexon-sol-tools-d80701c2779512324c7a9bef2a87b6f63239d281.tar
dexon-sol-tools-d80701c2779512324c7a9bef2a87b6f63239d281.tar.gz
dexon-sol-tools-d80701c2779512324c7a9bef2a87b6f63239d281.tar.bz2
dexon-sol-tools-d80701c2779512324c7a9bef2a87b6f63239d281.tar.lz
dexon-sol-tools-d80701c2779512324c7a9bef2a87b6f63239d281.tar.xz
dexon-sol-tools-d80701c2779512324c7a9bef2a87b6f63239d281.tar.zst
dexon-sol-tools-d80701c2779512324c7a9bef2a87b6f63239d281.zip
Fix geth tests
Diffstat (limited to 'packages/contracts/src')
-rw-r--r--packages/contracts/src/2.0.0/protocol/AssetProxyOwner/AssetProxyOwner.sol5
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/contracts/src/2.0.0/protocol/AssetProxyOwner/AssetProxyOwner.sol b/packages/contracts/src/2.0.0/protocol/AssetProxyOwner/AssetProxyOwner.sol
index bb02d8489..4d00e92d3 100644
--- a/packages/contracts/src/2.0.0/protocol/AssetProxyOwner/AssetProxyOwner.sol
+++ b/packages/contracts/src/2.0.0/protocol/AssetProxyOwner/AssetProxyOwner.sol
@@ -68,7 +68,10 @@ contract AssetProxyOwner is
{
for (uint256 i = 0; i < _assetProxyContracts.length; i++) {
address assetProxy = _assetProxyContracts[i];
- require(assetProxy != address(0));
+ require(
+ assetProxy != address(0),
+ "INVALID_ASSET_PROXY"
+ );
isAssetProxyRegistered[assetProxy] = true;
}
}