diff options
inpage - correctly listen for incomming messages
-rw-r--r-- | app/scripts/inpage.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/inpage.js b/app/scripts/inpage.js index 85dd70b4d..ef199946c 100644 --- a/app/scripts/inpage.js +++ b/app/scripts/inpage.js @@ -43,7 +43,7 @@ reloadStream.once('data', triggerReload) var pingChannel = inpageProvider.multiStream.createStream('pingpong') var pingStream = new PingStream({ objectMode: true }) // wait for first successful reponse -metamaskStream.once('_data', function(){ +metamaskStream.once('data', function(){ pingStream.pipe(pingChannel).pipe(pingStream) }) endOfStream(pingStream, triggerReload) |