fixed event_inc example and anonymous logs

This commit is contained in:
Marek Kotewicz 2015-07-08 14:01:55 +02:00
parent 9da4645acb
commit 6e04aa936f
7 changed files with 7 additions and 8 deletions

2
dist/web3-light.js vendored
View File

@ -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());
}

File diff suppressed because one or more lines are too long

2
dist/web3.js vendored
View File

@ -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

File diff suppressed because one or more lines are too long

2
dist/web3.min.js vendored

File diff suppressed because one or more lines are too long

View File

@ -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);
});
};

View File

@ -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());
}