aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio B <kandinsky454@protonmail.ch>2018-11-12 17:42:28 +0800
committerGitHub <noreply@github.com>2018-11-12 17:42:28 +0800
commit6f612685141b7b81f9b99d849872fd29e881f096 (patch)
tree8e3d696d6f939013ca887f0d784e052487cbcc59
parent9e4a594eb1ee34d89fcad1cf22bee99358a10e92 (diff)
parente0c4f58970a6ea13d1c92b16c12609d11519092d (diff)
downloaddexon-sol-tools-6f612685141b7b81f9b99d849872fd29e881f096.tar
dexon-sol-tools-6f612685141b7b81f9b99d849872fd29e881f096.tar.gz
dexon-sol-tools-6f612685141b7b81f9b99d849872fd29e881f096.tar.bz2
dexon-sol-tools-6f612685141b7b81f9b99d849872fd29e881f096.tar.lz
dexon-sol-tools-6f612685141b7b81f9b99d849872fd29e881f096.tar.xz
dexon-sol-tools-6f612685141b7b81f9b99d849872fd29e881f096.tar.zst
dexon-sol-tools-6f612685141b7b81f9b99d849872fd29e881f096.zip
Merge pull request #1246 from 0xProject/bug/web3-wrapper/eth-call-null
[web3-wrapper] Throws when contract returns null
-rw-r--r--packages/web3-wrapper/src/web3_wrapper.ts3
1 files changed, 0 insertions, 3 deletions
diff --git a/packages/web3-wrapper/src/web3_wrapper.ts b/packages/web3-wrapper/src/web3_wrapper.ts
index 56877fef3..23204e616 100644
--- a/packages/web3-wrapper/src/web3_wrapper.ts
+++ b/packages/web3-wrapper/src/web3_wrapper.ts
@@ -533,9 +533,6 @@ export class Web3Wrapper {
method: 'eth_call',
params: [callDataHex, marshalledDefaultBlock],
});
- if (rawCallResult === '0x') {
- throw new Error('Contract call failed (returned null)');
- }
return rawCallResult;
}
/**