mirror of
https://github.com/status-im/web3.js.git
synced 2025-02-23 11:38:12 +00:00
eth_filter complex topics, #175
This commit is contained in:
parent
836529a391
commit
e9107367fd
5
dist/web3-light.js
vendored
5
dist/web3-light.js
vendored
@ -2127,6 +2127,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;
|
||||
|
4
dist/web3-light.js.map
vendored
4
dist/web3-light.js.map
vendored
File diff suppressed because one or more lines are too long
5
dist/web3-light.min.js
vendored
5
dist/web3-light.min.js
vendored
File diff suppressed because one or more lines are too long
5
dist/web3.js
vendored
5
dist/web3.js
vendored
@ -2127,6 +2127,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;
|
||||
|
4
dist/web3.js.map
vendored
4
dist/web3.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/web3.min.js
vendored
4
dist/web3.min.js
vendored
File diff suppressed because one or more lines are too long
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user