diff options
author | Dan Finlay <dan@danfinlay.com> | 2017-05-23 06:41:13 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2017-05-23 06:41:13 +0800 |
commit | cbfaa6f56f685d515e170de2bf305da76b8ec1e0 (patch) | |
tree | 5242e02b56954f25fb90cf7646634fbad055f312 /app | |
parent | 39f9ffa18ab76fe154f9d5d4b3b2e5631d95fdc4 (diff) | |
download | tangerine-wallet-browser-cbfaa6f56f685d515e170de2bf305da76b8ec1e0.tar tangerine-wallet-browser-cbfaa6f56f685d515e170de2bf305da76b8ec1e0.tar.gz tangerine-wallet-browser-cbfaa6f56f685d515e170de2bf305da76b8ec1e0.tar.bz2 tangerine-wallet-browser-cbfaa6f56f685d515e170de2bf305da76b8ec1e0.tar.lz tangerine-wallet-browser-cbfaa6f56f685d515e170de2bf305da76b8ec1e0.tar.xz tangerine-wallet-browser-cbfaa6f56f685d515e170de2bf305da76b8ec1e0.tar.zst tangerine-wallet-browser-cbfaa6f56f685d515e170de2bf305da76b8ec1e0.zip |
Rename stream to streamSubprovider
Diffstat (limited to 'app')
-rw-r--r-- | app/scripts/lib/inpage-provider.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/scripts/lib/inpage-provider.js b/app/scripts/lib/inpage-provider.js index 9dea05dbb..3b60756b9 100644 --- a/app/scripts/lib/inpage-provider.js +++ b/app/scripts/lib/inpage-provider.js @@ -34,13 +34,13 @@ function MetamaskInpageProvider (connectionStream) { const filterSubprovider = new FilterSubprovider() engine.addProvider(filterSubprovider) - const stream = self.stream = new StreamSubprovider() - engine.addProvider(stream) + const streamSubprovider = new StreamSubprovider() + engine.addProvider(streamSubprovider) pipe( - stream, + streamSubprovider, multiStream.createStream('provider'), - stream, + streamSubprovider, (err) => logStreamDisconnectWarning('MetaMask RpcProvider', err) ) |