1
0
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:
Dan Finlay 2017-05-26 00:50:59 -07:00
parent 1dfc0f74bf
commit 7268fcb694

View File

@ -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()