1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Remove default to confirm screen on login.

This commit is contained in:
Dan 2017-08-30 00:08:35 -02:30 committed by Chi Kei Chan
parent b670c8074e
commit aa60944e30
2 changed files with 0 additions and 10 deletions

View File

@ -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,

View File

@ -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))
})