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()
|
||||
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)
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user