diff options
Diffstat (limited to 'ui/index.js')
-rw-r--r-- | ui/index.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/index.js b/ui/index.js index 4ecce2fbe..d67c6f096 100644 --- a/ui/index.js +++ b/ui/index.js @@ -43,6 +43,11 @@ function startApp(metamaskState, accountManager, opts){ store.dispatch(actions.showConfTxPage()) } + // if unconfirmed messages, start on msgConf page + if (Object.keys(metamaskState.unconfMsgs || {}).length) { + store.dispatch(actions.showConfTxPage()) + } + accountManager.on('update', function(metamaskState){ store.dispatch(actions.updateMetamaskState(metamaskState)) }) |