mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Revert inpage-provider
This commit is contained in:
parent
1dfc0f74bf
commit
7268fcb694
@ -39,8 +39,6 @@ function MetamaskInpageProvider (connectionStream) {
|
|||||||
self.idMap = {}
|
self.idMap = {}
|
||||||
// handle sendAsync requests via asyncProvider
|
// handle sendAsync requests via asyncProvider
|
||||||
self.sendAsync = function (payload, cb) {
|
self.sendAsync = function (payload, cb) {
|
||||||
console.trace('sending async ' + payload.method)
|
|
||||||
console.dir(payload)
|
|
||||||
// rewrite request ids
|
// rewrite request ids
|
||||||
var request = eachJsonMessage(payload, (message) => {
|
var request = eachJsonMessage(payload, (message) => {
|
||||||
var newId = createRandomId()
|
var newId = createRandomId()
|
||||||
|
Loading…
Reference in New Issue
Block a user