aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/reducers/metamask.js
diff options
context:
space:
mode:
authorKevin Serrano <kevgagser@gmail.com>2016-08-16 01:50:53 +0800
committerKevin Serrano <kevgagser@gmail.com>2016-08-16 01:50:53 +0800
commit6895d330ffdf0f071e4df3fb9da47f2ea6fc7491 (patch)
tree64e170d2bd39434674e0c92bb637fd1d2c57debc /ui/app/reducers/metamask.js
parentcb0c1f25bacab5f6ee9348dbc3dc112f4d77560f (diff)
parent271e3c4fdf1a86a989d642c18815d7f6537ed951 (diff)
downloadtangerine-wallet-browser-6895d330ffdf0f071e4df3fb9da47f2ea6fc7491.tar
tangerine-wallet-browser-6895d330ffdf0f071e4df3fb9da47f2ea6fc7491.tar.gz
tangerine-wallet-browser-6895d330ffdf0f071e4df3fb9da47f2ea6fc7491.tar.bz2
tangerine-wallet-browser-6895d330ffdf0f071e4df3fb9da47f2ea6fc7491.tar.lz
tangerine-wallet-browser-6895d330ffdf0f071e4df3fb9da47f2ea6fc7491.tar.xz
tangerine-wallet-browser-6895d330ffdf0f071e4df3fb9da47f2ea6fc7491.tar.zst
tangerine-wallet-browser-6895d330ffdf0f071e4df3fb9da47f2ea6fc7491.zip
Merge master.
Diffstat (limited to 'ui/app/reducers/metamask.js')
-rw-r--r--ui/app/reducers/metamask.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/app/reducers/metamask.js b/ui/app/reducers/metamask.js
index a63de9005..7af805f06 100644
--- a/ui/app/reducers/metamask.js
+++ b/ui/app/reducers/metamask.js
@@ -10,6 +10,7 @@ function reduceMetamask (state, action) {
var metamaskState = extend({
isInitialized: false,
isUnlocked: false,
+ isEthConfirmed: false,
currentDomain: 'example.com',
rpcTarget: 'https://rawtestrpc.metamask.io/',
identities: {},
@@ -36,7 +37,7 @@ function reduceMetamask (state, action) {
case actions.AGREE_TO_ETH_WARNING:
return extend(metamaskState, {
- isEthConfirmed: true,
+ isEthConfirmed: !metamaskState.isEthConfirmed,
})
case actions.UNLOCK_METAMASK: