aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2017-05-23 06:41:13 +0800
committerDan Finlay <dan@danfinlay.com>2017-05-23 06:41:13 +0800
commitcbfaa6f56f685d515e170de2bf305da76b8ec1e0 (patch)
tree5242e02b56954f25fb90cf7646634fbad055f312 /app
parent39f9ffa18ab76fe154f9d5d4b3b2e5631d95fdc4 (diff)
downloadtangerine-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.js8
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)
)