aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app')
-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
+}