Skip to content

Commit

Permalink
eth_filter complex topics, #175
Browse files Browse the repository at this point in the history
  • Loading branch information
debris committed Apr 21, 2015
1 parent 836529a commit e910736
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 8 deletions.
5 changes: 5 additions & 0 deletions dist/web3-light.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/web3-light.js.map

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions dist/web3-light.min.js

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions dist/web3.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/web3.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/web3.min.js

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions lib/web3/event.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,11 @@ SolidityEvent.prototype.encode = function (indexed, options) {
}).map(function (i) {
var value = indexed[i.name];
if (value !== undefined) {
if (utils.isArray(value)) {
return value.map(function (v) {
return '0x' + coder.encodeParam(i.type, v);
});
}
return '0x' + coder.encodeParam(i.type, value);
}
return null;
Expand Down

0 comments on commit e910736

Please sign in to comment.