aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/reducers.js
diff options
context:
space:
mode:
authorfrankiebee <frankie.diamond@gmail.com>2017-03-29 09:02:39 +0800
committerfrankiebee <frankie.diamond@gmail.com>2017-03-29 09:02:39 +0800
commita20a237282c38da86b03625d08b48c2e58e83523 (patch)
tree65c58173cf8e0da53dbb6b9f18014ed8c1babf9c /ui/app/reducers.js
parent79248ae5cd3fb1314c5a7ff71c05f9dbe7b3a4cd (diff)
parent7c09bde4120d1063df762076d41d2e9921dd3c0e (diff)
downloadtangerine-wallet-browser-a20a237282c38da86b03625d08b48c2e58e83523.tar
tangerine-wallet-browser-a20a237282c38da86b03625d08b48c2e58e83523.tar.gz
tangerine-wallet-browser-a20a237282c38da86b03625d08b48c2e58e83523.tar.bz2
tangerine-wallet-browser-a20a237282c38da86b03625d08b48c2e58e83523.tar.lz
tangerine-wallet-browser-a20a237282c38da86b03625d08b48c2e58e83523.tar.xz
tangerine-wallet-browser-a20a237282c38da86b03625d08b48c2e58e83523.tar.zst
tangerine-wallet-browser-a20a237282c38da86b03625d08b48c2e58e83523.zip
Merge branch 'master' into mascara
Diffstat (limited to 'ui/app/reducers.js')
-rw-r--r--ui/app/reducers.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/ui/app/reducers.js b/ui/app/reducers.js
index 4d10e2b39..c656af849 100644
--- a/ui/app/reducers.js
+++ b/ui/app/reducers.js
@@ -42,6 +42,10 @@ function rootReducer (state, action) {
}
window.logState = function () {
- var stateString = JSON.stringify(window.METAMASK_CACHED_LOG_STATE, null, 2)
+ var stateString = JSON.stringify(window.METAMASK_CACHED_LOG_STATE, removeSeedWords, 2)
console.log(stateString)
}
+
+function removeSeedWords (key, value) {
+ return key === 'seedWords' ? undefined : value
+}