forked from cerc-io/plugeth
reverted ethereum.js
This commit is contained in:
parent
1a6b7de0af
commit
4bb5ba78b0
7
dist/ethereum.js
vendored
7
dist/ethereum.js
vendored
@ -903,8 +903,9 @@ var ProviderManager = function() {
|
|||||||
data.data._id = self.id;
|
data.data._id = self.id;
|
||||||
self.id++;
|
self.id++;
|
||||||
var result = self.provider.send(data.data);
|
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
|
// dont call the callback if result is not an array, or empty one
|
||||||
if (result.error || !(result.result instanceof Array) || result.result.length === 0) {
|
if (result.error || !(result.result instanceof Array) || result.result.length === 0) {
|
||||||
return;
|
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"])
|
},{"./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
|
Loading…
Reference in New Issue
Block a user