aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/reducers/metamask.js
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-11-22 03:03:32 +0800
committerDan Finlay <dan@danfinlay.com>2016-11-22 03:03:32 +0800
commit7ab9d408201ae65ad30512f1361df61a487a9330 (patch)
treecc7b208d36e9cf6eafcab5bd36edba0f46595a64 /ui/app/reducers/metamask.js
parente8a83026248e6e27e6d801cf1713551eb740137a (diff)
parent7021c7708c927b8723b6ba5842b451b6f46dbb3e (diff)
downloadtangerine-wallet-browser-7ab9d408201ae65ad30512f1361df61a487a9330.tar
tangerine-wallet-browser-7ab9d408201ae65ad30512f1361df61a487a9330.tar.gz
tangerine-wallet-browser-7ab9d408201ae65ad30512f1361df61a487a9330.tar.bz2
tangerine-wallet-browser-7ab9d408201ae65ad30512f1361df61a487a9330.tar.lz
tangerine-wallet-browser-7ab9d408201ae65ad30512f1361df61a487a9330.tar.xz
tangerine-wallet-browser-7ab9d408201ae65ad30512f1361df61a487a9330.tar.zst
tangerine-wallet-browser-7ab9d408201ae65ad30512f1361df61a487a9330.zip
Merge branch 'dev' into i831-AddRopsten-Dev
Diffstat (limited to 'ui/app/reducers/metamask.js')
-rw-r--r--ui/app/reducers/metamask.js8
1 files changed, 1 insertions, 7 deletions
diff --git a/ui/app/reducers/metamask.js b/ui/app/reducers/metamask.js
index 84953d734..82904dcc6 100644
--- a/ui/app/reducers/metamask.js
+++ b/ui/app/reducers/metamask.js
@@ -10,7 +10,6 @@ function reduceMetamask (state, action) {
var metamaskState = extend({
isInitialized: false,
isUnlocked: false,
- isEthConfirmed: false,
rpcTarget: 'https://rawtestrpc.metamask.io/',
identities: {},
unconfTxs: {},
@@ -31,12 +30,7 @@ function reduceMetamask (state, action) {
case actions.AGREE_TO_DISCLAIMER:
return extend(metamaskState, {
- isConfirmed: true,
- })
-
- case actions.AGREE_TO_ETH_WARNING:
- return extend(metamaskState, {
- isEthConfirmed: !metamaskState.isEthConfirmed,
+ isDisclaimerConfirmed: true,
})
case actions.UNLOCK_METAMASK: