Browse Source

logs method in ethereum.js

cl-refactor
Marek Kotewicz 10 years ago
parent
commit
d59a571350
  1. 4
      libjsqrc/ethereum.js

4
libjsqrc/ethereum.js

@ -905,6 +905,10 @@ Filter.prototype.messages = function() {
}); });
}; };
Filter.prototype.logs = function () {
return this.messages();
};
function messageHandler(data) { function messageHandler(data) {
if(data._event !== undefined) { if(data._event !== undefined) {
web3.trigger(data._event, data._id, data.data); web3.trigger(data._event, data._id, data.data);

Loading…
Cancel
Save