diff --git a/ui/app/reducers/app.js b/ui/app/reducers/app.js index f444aaf38..b2e5543ea 100644 --- a/ui/app/reducers/app.js +++ b/ui/app/reducers/app.js @@ -14,10 +14,6 @@ function reduceApp (state, action) { if (selectedAddress) { name = 'accountDetail' } - if (hasUnconfActions) { - log.debug('pending txs detected, defaulting to conf-tx view.') - name = 'confTx' - } var defaultView = { name, diff --git a/ui/index.js b/ui/index.js index a729138d3..f748c1ea2 100644 --- a/ui/index.js +++ b/ui/index.js @@ -36,12 +36,6 @@ function startApp (metamaskState, accountManager, opts) { networkVersion: opts.networkVersion, }) - // if unconfirmed txs, start on txConf page - const unapprovedTxsAll = txHelper(metamaskState.unapprovedTxs, metamaskState.unapprovedMsgs, metamaskState.unapprovedPersonalMsgs, metamaskState.network) - if (unapprovedTxsAll.length > 0) { - store.dispatch(actions.showConfTxPage()) - } - accountManager.on('update', function (metamaskState) { store.dispatch(actions.updateMetamaskState(metamaskState)) })