mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
clean - silence logging
This commit is contained in:
parent
8f45bad242
commit
9c17c9aca6
@ -75,7 +75,7 @@ function onRpcRequest(remotePort, payload){
|
|||||||
// console.log('MetaMaskPlugin - incoming payload:', payload)
|
// console.log('MetaMaskPlugin - incoming payload:', payload)
|
||||||
zeroClient.sendAsync(payload, function onPayloadHandled(err, response){
|
zeroClient.sendAsync(payload, function onPayloadHandled(err, response){
|
||||||
if (err) throw err
|
if (err) throw err
|
||||||
console.log('MetaMaskPlugin - RPC complete:', payload, '->', response)
|
// console.log('MetaMaskPlugin - RPC complete:', payload, '->', response)
|
||||||
remotePort.postMessage(response)
|
remotePort.postMessage(response)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
@ -105,7 +105,6 @@ function submitPassword(password, cb){
|
|||||||
// get the current selected address
|
// get the current selected address
|
||||||
function getAccounts(cb){
|
function getAccounts(cb){
|
||||||
var result = selectedAddress ? [selectedAddress] : []
|
var result = selectedAddress ? [selectedAddress] : []
|
||||||
console.log('getAccounts:', result)
|
|
||||||
cb(null, result)
|
cb(null, result)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user