mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Add a couple more debug logs
This commit is contained in:
parent
513a9d72ef
commit
ddc136a7c2
@ -407,6 +407,7 @@ module.exports = class MetamaskController extends EventEmitter {
|
|||||||
//
|
//
|
||||||
|
|
||||||
newUnapprovedTransaction (txParams, cb) {
|
newUnapprovedTransaction (txParams, cb) {
|
||||||
|
log.debug(`MetaMaskController newUnapprovedTransaction ${JSON.stringify(txParams)}`)
|
||||||
const self = this
|
const self = this
|
||||||
self.txManager.addUnapprovedTransaction(txParams, (err, txMeta) => {
|
self.txManager.addUnapprovedTransaction(txParams, (err, txMeta) => {
|
||||||
if (err) return cb(err)
|
if (err) return cb(err)
|
||||||
|
@ -308,6 +308,7 @@ PTXP.gatherParams = function () {
|
|||||||
const resultTxMeta = extend(txData, {
|
const resultTxMeta = extend(txData, {
|
||||||
txParams: resultTx,
|
txParams: resultTx,
|
||||||
})
|
})
|
||||||
|
log.debug(`UI has computed tx params ${JSON.stringify(resultTx)}`)
|
||||||
return resultTxMeta
|
return resultTxMeta
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user