aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Serrano <kevgagser@gmail.com>2017-03-01 04:06:46 +0800
committerKevin Serrano <kevgagser@gmail.com>2017-03-01 04:06:46 +0800
commit6f2d14fde4e6c3add0194caa5b7e2ea77e5dfb15 (patch)
tree0c44f4b8fa76c93d30a05c08014edeb8510d3caa
parent61a19a028b0cf56230fc6512b5f5651d7e1aad5b (diff)
parent2e16e1eb94d0ec68da74d3ee4ce1c9ac2115c13d (diff)
downloadtangerine-wallet-browser-6f2d14fde4e6c3add0194caa5b7e2ea77e5dfb15.tar
tangerine-wallet-browser-6f2d14fde4e6c3add0194caa5b7e2ea77e5dfb15.tar.gz
tangerine-wallet-browser-6f2d14fde4e6c3add0194caa5b7e2ea77e5dfb15.tar.bz2
tangerine-wallet-browser-6f2d14fde4e6c3add0194caa5b7e2ea77e5dfb15.tar.lz
tangerine-wallet-browser-6f2d14fde4e6c3add0194caa5b7e2ea77e5dfb15.tar.xz
tangerine-wallet-browser-6f2d14fde4e6c3add0194caa5b7e2ea77e5dfb15.tar.zst
tangerine-wallet-browser-6f2d14fde4e6c3add0194caa5b7e2ea77e5dfb15.zip
Merge branch 'i765-gaslimits' of github.com:MetaMask/metamask-plugin into i765-gaslimits
-rw-r--r--app/scripts/lib/tx-utils.js1
-rw-r--r--ui/app/conf-tx.js3
-rw-r--r--ui/app/reducers/app.js2
3 files changed, 4 insertions, 2 deletions
diff --git a/app/scripts/lib/tx-utils.js b/app/scripts/lib/tx-utils.js
index 240a6ab47..b152effcc 100644
--- a/app/scripts/lib/tx-utils.js
+++ b/app/scripts/lib/tx-utils.js
@@ -106,6 +106,7 @@ module.exports = class txProviderUtils {
txParams.gasLimit = normalize(txParams.gasLimit || txParams.gas)
txParams.nonce = normalize(txParams.nonce)
// build ethTx
+ log.info(`Prepared tx for signing: ${JSON.stringify(txParams)}`)
const ethTx = new Transaction(txParams)
return ethTx
}
diff --git a/ui/app/conf-tx.js b/ui/app/conf-tx.js
index 0a59eee37..ed633553b 100644
--- a/ui/app/conf-tx.js
+++ b/ui/app/conf-tx.js
@@ -13,6 +13,7 @@ const BN = ethUtil.BN
const PendingTx = require('./components/pending-tx')
const PendingMsg = require('./components/pending-msg')
const PendingPersonalMsg = require('./components/pending-personal-msg')
+const Loading = require('./components/loading')
module.exports = connect(mapStateToProps)(ConfirmTxScreen)
@@ -48,7 +49,7 @@ ConfirmTxScreen.prototype.render = function () {
var isNotification = isPopupOrNotification() === 'notification'
log.info(`rendering a combined ${unconfTxList.length} unconf msg & txs`)
- if (unconfTxList.length === 0) return null
+ if (unconfTxList.length === 0) return h(Loading)
return (
diff --git a/ui/app/reducers/app.js b/ui/app/reducers/app.js
index 136326301..7ea1e1d7c 100644
--- a/ui/app/reducers/app.js
+++ b/ui/app/reducers/app.js
@@ -291,7 +291,7 @@ function reduceApp (state, action) {
case actions.SHOW_CONF_TX_PAGE:
return extend(appState, {
currentView: {
- name: pendingTxs ? 'confTx' : 'account-detail',
+ name: 'confTx',
context: 0,
},
transForward: action.transForward,