mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Merge branch 'i765-gaslimits' of github.com:MetaMask/metamask-plugin into i765-gaslimits
This commit is contained in:
commit
6f2d14fde4
@ -106,6 +106,7 @@ module.exports = class txProviderUtils {
|
|||||||
txParams.gasLimit = normalize(txParams.gasLimit || txParams.gas)
|
txParams.gasLimit = normalize(txParams.gasLimit || txParams.gas)
|
||||||
txParams.nonce = normalize(txParams.nonce)
|
txParams.nonce = normalize(txParams.nonce)
|
||||||
// build ethTx
|
// build ethTx
|
||||||
|
log.info(`Prepared tx for signing: ${JSON.stringify(txParams)}`)
|
||||||
const ethTx = new Transaction(txParams)
|
const ethTx = new Transaction(txParams)
|
||||||
return ethTx
|
return ethTx
|
||||||
}
|
}
|
||||||
|
@ -13,6 +13,7 @@ const BN = ethUtil.BN
|
|||||||
const PendingTx = require('./components/pending-tx')
|
const PendingTx = require('./components/pending-tx')
|
||||||
const PendingMsg = require('./components/pending-msg')
|
const PendingMsg = require('./components/pending-msg')
|
||||||
const PendingPersonalMsg = require('./components/pending-personal-msg')
|
const PendingPersonalMsg = require('./components/pending-personal-msg')
|
||||||
|
const Loading = require('./components/loading')
|
||||||
|
|
||||||
module.exports = connect(mapStateToProps)(ConfirmTxScreen)
|
module.exports = connect(mapStateToProps)(ConfirmTxScreen)
|
||||||
|
|
||||||
@ -48,7 +49,7 @@ ConfirmTxScreen.prototype.render = function () {
|
|||||||
var isNotification = isPopupOrNotification() === 'notification'
|
var isNotification = isPopupOrNotification() === 'notification'
|
||||||
|
|
||||||
log.info(`rendering a combined ${unconfTxList.length} unconf msg & txs`)
|
log.info(`rendering a combined ${unconfTxList.length} unconf msg & txs`)
|
||||||
if (unconfTxList.length === 0) return null
|
if (unconfTxList.length === 0) return h(Loading)
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|
||||||
|
@ -291,7 +291,7 @@ function reduceApp (state, action) {
|
|||||||
case actions.SHOW_CONF_TX_PAGE:
|
case actions.SHOW_CONF_TX_PAGE:
|
||||||
return extend(appState, {
|
return extend(appState, {
|
||||||
currentView: {
|
currentView: {
|
||||||
name: pendingTxs ? 'confTx' : 'account-detail',
|
name: 'confTx',
|
||||||
context: 0,
|
context: 0,
|
||||||
},
|
},
|
||||||
transForward: action.transForward,
|
transForward: action.transForward,
|
||||||
|
Loading…
Reference in New Issue
Block a user