aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2017-03-01 07:41:17 +0800
committerDan Finlay <dan@danfinlay.com>2017-03-01 07:41:20 +0800
commitddc136a7c25d9b0f8a1fca2b9ea2fc490e601c83 (patch)
tree8b2820d2ed86ecf2c3cf1bde1286237243c779cf
parent513a9d72ef2f19f02f5cac3b1c66b01371c281c9 (diff)
downloadtangerine-wallet-browser-ddc136a7c25d9b0f8a1fca2b9ea2fc490e601c83.tar
tangerine-wallet-browser-ddc136a7c25d9b0f8a1fca2b9ea2fc490e601c83.tar.gz
tangerine-wallet-browser-ddc136a7c25d9b0f8a1fca2b9ea2fc490e601c83.tar.bz2
tangerine-wallet-browser-ddc136a7c25d9b0f8a1fca2b9ea2fc490e601c83.tar.lz
tangerine-wallet-browser-ddc136a7c25d9b0f8a1fca2b9ea2fc490e601c83.tar.xz
tangerine-wallet-browser-ddc136a7c25d9b0f8a1fca2b9ea2fc490e601c83.tar.zst
tangerine-wallet-browser-ddc136a7c25d9b0f8a1fca2b9ea2fc490e601c83.zip
Add a couple more debug logs
-rw-r--r--app/scripts/metamask-controller.js1
-rw-r--r--ui/app/components/pending-tx-details.js1
2 files changed, 2 insertions, 0 deletions
diff --git a/app/scripts/metamask-controller.js b/app/scripts/metamask-controller.js
index 295d0e998..bd01a260d 100644
--- a/app/scripts/metamask-controller.js
+++ b/app/scripts/metamask-controller.js
@@ -407,6 +407,7 @@ module.exports = class MetamaskController extends EventEmitter {
//
newUnapprovedTransaction (txParams, cb) {
+ log.debug(`MetaMaskController newUnapprovedTransaction ${JSON.stringify(txParams)}`)
const self = this
self.txManager.addUnapprovedTransaction(txParams, (err, txMeta) => {
if (err) return cb(err)
diff --git a/ui/app/components/pending-tx-details.js b/ui/app/components/pending-tx-details.js
index f5651bb1d..eddf7db4c 100644
--- a/ui/app/components/pending-tx-details.js
+++ b/ui/app/components/pending-tx-details.js
@@ -308,6 +308,7 @@ PTXP.gatherParams = function () {
const resultTxMeta = extend(txData, {
txParams: resultTx,
})
+ log.debug(`UI has computed tx params ${JSON.stringify(resultTx)}`)
return resultTxMeta
}