mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Rename stream to streamSubprovider
This commit is contained in:
parent
39f9ffa18a
commit
cbfaa6f56f
@ -34,13 +34,13 @@ function MetamaskInpageProvider (connectionStream) {
|
|||||||
const filterSubprovider = new FilterSubprovider()
|
const filterSubprovider = new FilterSubprovider()
|
||||||
engine.addProvider(filterSubprovider)
|
engine.addProvider(filterSubprovider)
|
||||||
|
|
||||||
const stream = self.stream = new StreamSubprovider()
|
const streamSubprovider = new StreamSubprovider()
|
||||||
engine.addProvider(stream)
|
engine.addProvider(streamSubprovider)
|
||||||
|
|
||||||
pipe(
|
pipe(
|
||||||
stream,
|
streamSubprovider,
|
||||||
multiStream.createStream('provider'),
|
multiStream.createStream('provider'),
|
||||||
stream,
|
streamSubprovider,
|
||||||
(err) => logStreamDisconnectWarning('MetaMask RpcProvider', err)
|
(err) => logStreamDisconnectWarning('MetaMask RpcProvider', err)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user