Browse Source

Squashed 'libjsqrc/ethereumjs/' changes from 9a85b09..c4c3b12

c4c3b12 fallback for go-ethereum && fixed parsing ethereum messages

git-subtree-dir: libjsqrc/ethereumjs
git-subtree-split: c4c3b126a3f385eeeca6027b1f544c6536f94b6b
cl-refactor
Marek Kotewicz 10 years ago
parent
commit
88955a7049
  1. 3
      dist/ethereum.js
  2. 6
      dist/ethereum.js.map
  3. 2
      dist/ethereum.min.js
  4. 1
      lib/event.js
  5. 2
      lib/filter.js

3
dist/ethereum.js

@ -715,6 +715,7 @@ var outputParser = function (event) {
args: {}
};
output.topics = output.topic; // fallback for go-ethereum
if (!output.topic) {
return result;
}
@ -829,7 +830,7 @@ var filter = function(options, implementation, formatter) {
var filterId = implementation.newFilter(options);
var onMessages = function (messages) {
messages.forEach(function (message) {
messages = formatter ? formatter(message) : message;
message = formatter ? formatter(message) : message;
callbacks.forEach(function (callback) {
callback(message);
});

6
dist/ethereum.js.map

File diff suppressed because one or more lines are too long

2
dist/ethereum.min.js

File diff suppressed because one or more lines are too long

1
lib/event.js

@ -99,6 +99,7 @@ var outputParser = function (event) {
args: {}
};
output.topics = output.topic; // fallback for go-ethereum
if (!output.topic) {
return result;
}

2
lib/filter.js

@ -76,7 +76,7 @@ var filter = function(options, implementation, formatter) {
var filterId = implementation.newFilter(options);
var onMessages = function (messages) {
messages.forEach(function (message) {
messages = formatter ? formatter(message) : message;
message = formatter ? formatter(message) : message;
callbacks.forEach(function (callback) {
callback(message);
});

Loading…
Cancel
Save