aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/src
diff options
context:
space:
mode:
authorAmir Bandeali <abandeali1@gmail.com>2018-06-30 01:02:07 +0800
committerAmir Bandeali <abandeali1@gmail.com>2018-06-30 04:33:22 +0800
commit44b6adaa2912e4c21ae93441fde410610f817b1d (patch)
tree135ea8559f35f50e023a8280784f29ac4309d153 /packages/contracts/src
parent762a6199b25391bde65ea2f1f91532c3c1d5badf (diff)
downloaddexon-sol-tools-44b6adaa2912e4c21ae93441fde410610f817b1d.tar
dexon-sol-tools-44b6adaa2912e4c21ae93441fde410610f817b1d.tar.gz
dexon-sol-tools-44b6adaa2912e4c21ae93441fde410610f817b1d.tar.bz2
dexon-sol-tools-44b6adaa2912e4c21ae93441fde410610f817b1d.tar.lz
dexon-sol-tools-44b6adaa2912e4c21ae93441fde410610f817b1d.tar.xz
dexon-sol-tools-44b6adaa2912e4c21ae93441fde410610f817b1d.tar.zst
dexon-sol-tools-44b6adaa2912e4c21ae93441fde410610f817b1d.zip
Fix deployment to geth
Diffstat (limited to 'packages/contracts/src')
-rw-r--r--packages/contracts/src/contracts/current/protocol/Exchange/MixinAssetProxyDispatcher.sol2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/contracts/src/contracts/current/protocol/Exchange/MixinAssetProxyDispatcher.sol b/packages/contracts/src/contracts/current/protocol/Exchange/MixinAssetProxyDispatcher.sol
index 643ccef81..520569185 100644
--- a/packages/contracts/src/contracts/current/protocol/Exchange/MixinAssetProxyDispatcher.sol
+++ b/packages/contracts/src/contracts/current/protocol/Exchange/MixinAssetProxyDispatcher.sol
@@ -181,7 +181,7 @@ contract MixinAssetProxyDispatcher is
cdStart, // write output over input
512 // reserve 512 bytes for output
)
- if eq(success, 0) {
+ if iszero(success) {
revert(cdStart, returndatasize())
}
}