aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/reducers.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app/reducers.js')
-rw-r--r--ui/app/reducers.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/ui/app/reducers.js b/ui/app/reducers.js
index 4d10e2b39..11efca529 100644
--- a/ui/app/reducers.js
+++ b/ui/app/reducers.js
@@ -42,6 +42,11 @@ 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)
+ return stateString
+}
+
+function removeSeedWords (key, value) {
+ return key === 'seedWords' ? undefined : value
}