bug(web3-wrapper): throws when contract returns null

This commit is contained in:
Jacob Evans
2018-11-12 13:55:46 +11:00
parent df8fd36c94
commit e0c4f58970

View File

@@ -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;
}
/**