From 1a6b7de0af4f7eb65a9f3d70b010b58d329758bc Mon Sep 17 00:00:00 2001 From: arkpar Date: Mon, 2 Feb 2015 16:47:18 +0100 Subject: [PATCH] removed splitter.qml --- dist/ethereum.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/dist/ethereum.js b/dist/ethereum.js index 0f30280f9..5c912dbba 100644 --- a/dist/ethereum.js +++ b/dist/ethereum.js @@ -903,9 +903,8 @@ 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; @@ -1520,4 +1519,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 \ No newline at end of file +//# sourceMappingURL=ethereum.js.map