bug(web3-wrapper): throws when contract returns null
This commit is contained in:
@@ -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;
|
||||
}
|
||||
/**
|
||||
|
Reference in New Issue
Block a user