Fixed overwriting name on Events.

This commit is contained in:
Richard Moore 2018-01-10 14:34:36 -05:00
parent df930103e7
commit bea0ea3aaf
No known key found for this signature in database
GPG Key ID: 525F70A6FCABC295

@ -767,7 +767,6 @@ function Interface(abi) {
// @TODO: Move to parseParams
defineFrozen(func, 'inputs', getKeys(method.inputs, 'name'));
utils.defineProperty(func, 'name', info.name);
utils.defineProperty(func, 'parse', info.parse);
utils.defineProperty(func, 'signature', info.signature);
utils.defineProperty(func, 'topic', info.topics[0]);