[#12744] Issue using app.ens in browsee
Signed-off-by: andrey <motor4ik@gmail.com>
This commit is contained in:
parent
c4aac1478e
commit
77e593572f
|
@ -179,6 +179,10 @@
|
||||||
this._events[name] = this._events[name].filter(filterListeners);
|
this._events[name] = this._events[name].filter(filterListeners);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
EthereumProvider.prototype.removeAllListeners = function () {
|
||||||
|
this._events = {};
|
||||||
|
}
|
||||||
|
|
||||||
EthereumProvider.prototype.emit = function (name, data) {
|
EthereumProvider.prototype.emit = function (name, data) {
|
||||||
if (!this._events[name]) {
|
if (!this._events[name]) {
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue