Add a couple more debug logs

feature/default_network_editable
Dan Finlay 8 years ago
parent 513a9d72ef
commit ddc136a7c2
  1. 1
      app/scripts/metamask-controller.js
  2. 1
      ui/app/components/pending-tx-details.js

@ -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…
Cancel
Save