mirror of
https://github.com/status-im/web3.js.git
synced 2025-02-22 11:08:33 +00:00
fixed event_inc example and anonymous logs
This commit is contained in:
parent
9da4645acb
commit
6e04aa936f
2
dist/web3-light.js
vendored
2
dist/web3-light.js
vendored
@ -2477,8 +2477,8 @@ SolidityEvent.prototype.encode = function (indexed, options) {
|
||||
|
||||
result.topics = [];
|
||||
|
||||
result.address = this._address;
|
||||
if (!this._anonymous) {
|
||||
result.address = this._address;
|
||||
result.topics.push('0x' + this.signature());
|
||||
}
|
||||
|
||||
|
2
dist/web3-light.min.js
vendored
2
dist/web3-light.min.js
vendored
File diff suppressed because one or more lines are too long
2
dist/web3.js
vendored
2
dist/web3.js
vendored
@ -2477,8 +2477,8 @@ SolidityEvent.prototype.encode = function (indexed, options) {
|
||||
|
||||
result.topics = [];
|
||||
|
||||
result.address = this._address;
|
||||
if (!this._anonymous) {
|
||||
result.address = this._address;
|
||||
result.topics.push('0x' + this.signature());
|
||||
}
|
||||
|
||||
|
2
dist/web3.js.map
vendored
2
dist/web3.js.map
vendored
File diff suppressed because one or more lines are too long
2
dist/web3.min.js
vendored
2
dist/web3.min.js
vendored
File diff suppressed because one or more lines are too long
@ -49,8 +49,7 @@
|
||||
document.getElementById('status').innerText = 'Mined!';
|
||||
document.getElementById('call').style.visibility = 'visible';
|
||||
|
||||
inc = contract.Incremented({odd: true});
|
||||
inc.watch(update);
|
||||
inc = contract.Incremented({odd: true}, update);
|
||||
});
|
||||
};
|
||||
|
||||
|
@ -103,8 +103,8 @@ SolidityEvent.prototype.encode = function (indexed, options) {
|
||||
|
||||
result.topics = [];
|
||||
|
||||
result.address = this._address;
|
||||
if (!this._anonymous) {
|
||||
result.address = this._address;
|
||||
result.topics.push('0x' + this.signature());
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user