mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
metamask - fix setupProviderConnection
This commit is contained in:
parent
d7fde88f4b
commit
efcd22905a
@ -256,7 +256,7 @@ module.exports = class MetamaskController extends EventEmitter {
|
||||
}
|
||||
|
||||
setupProviderConnection (outStream, originDomain) {
|
||||
streamIntoProvider(outStream, originDomain, logger)
|
||||
streamIntoProvider(outStream, this.provider, logger)
|
||||
function logger (err, request, response) {
|
||||
if (err) return console.error(err)
|
||||
if (response.error) {
|
||||
|
Loading…
Reference in New Issue
Block a user