diff options
author | arkpar <arkadiy@ethdev.com> | 2015-02-03 01:20:43 +0800 |
---|---|---|
committer | arkpar <arkadiy@ethdev.com> | 2015-02-03 01:20:43 +0800 |
commit | 4bb5ba78b0f3d906743874aa8c0cb980b2ad0055 (patch) | |
tree | eed943b8207693b2ee3044ffe63b6915a8c6a55d | |
parent | 1a6b7de0af4f7eb65a9f3d70b010b58d329758bc (diff) | |
download | go-tangerine-4bb5ba78b0f3d906743874aa8c0cb980b2ad0055.tar go-tangerine-4bb5ba78b0f3d906743874aa8c0cb980b2ad0055.tar.gz go-tangerine-4bb5ba78b0f3d906743874aa8c0cb980b2ad0055.tar.bz2 go-tangerine-4bb5ba78b0f3d906743874aa8c0cb980b2ad0055.tar.lz go-tangerine-4bb5ba78b0f3d906743874aa8c0cb980b2ad0055.tar.xz go-tangerine-4bb5ba78b0f3d906743874aa8c0cb980b2ad0055.tar.zst go-tangerine-4bb5ba78b0f3d906743874aa8c0cb980b2ad0055.zip |
reverted ethereum.js
-rw-r--r-- | dist/ethereum.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/dist/ethereum.js b/dist/ethereum.js index 5c912dbba..0f30280f9 100644 --- a/dist/ethereum.js +++ b/dist/ethereum.js @@ -903,8 +903,9 @@ var ProviderManager = function() { data.data._id = self.id; self.id++; var result = self.provider.send(data.data); - result = JSON.parse(result); - + + result = JSON.parse(result); + // dont call the callback if result is not an array, or empty one if (result.error || !(result.result instanceof Array) || result.result.length === 0) { return; @@ -1519,4 +1520,4 @@ module.exports = web3; },{"./lib/abi":1,"./lib/contract":3,"./lib/filter":5,"./lib/httpsync":7,"./lib/providermanager":8,"./lib/qtsync":9,"./lib/web3":12}]},{},["web3"]) -//# sourceMappingURL=ethereum.js.map +//# sourceMappingURL=ethereum.js.map
\ No newline at end of file |