From 77e593572fdb16dfb557cfa31a2ac290eff3cf22 Mon Sep 17 00:00:00 2001 From: andrey Date: Mon, 25 Oct 2021 12:19:05 +0200 Subject: [PATCH] [#12744] Issue using app.ens in browsee Signed-off-by: andrey --- resources/js/provider.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/resources/js/provider.js b/resources/js/provider.js index 73aa3620bf..1afef93fbe 100644 --- a/resources/js/provider.js +++ b/resources/js/provider.js @@ -179,6 +179,10 @@ this._events[name] = this._events[name].filter(filterListeners); } + EthereumProvider.prototype.removeAllListeners = function () { + this._events = {}; + } + EthereumProvider.prototype.emit = function (name, data) { if (!this._events[name]) { return