Use signature of functions instead of names (#3448)
* Use signature of functions instead of names #3411 * Fixes contract tests #3448
This commit is contained in:
committed by
Jaco Greeff
parent
b5dedd8aeb
commit
20185e5aac
@@ -40,9 +40,12 @@ export default class Contract {
|
||||
|
||||
this._events.forEach((evt) => {
|
||||
this._instance[evt.name] = evt;
|
||||
this._instance[evt.signature] = evt;
|
||||
});
|
||||
|
||||
this._functions.forEach((fn) => {
|
||||
this._instance[fn.name] = fn;
|
||||
this._instance[fn.signature] = fn;
|
||||
});
|
||||
|
||||
this._sendSubscriptionChanges();
|
||||
|
||||
Reference in New Issue
Block a user