diff options
author | Kevin Serrano <kevin.serrano@consensys.net> | 2017-03-28 22:26:06 +0800 |
---|---|---|
committer | Kevin Serrano <kevin.serrano@consensys.net> | 2017-03-28 22:26:06 +0800 |
commit | 6af932904d5cc320a2ef1e25ef5cdbfa23bbddb2 (patch) | |
tree | 1ba9f1f14b61df9d13fe15bd1c9b8c0b6f4aa6b4 /ui/app/reducers.js | |
parent | a298130357996be48a61544154268025c4724cf4 (diff) | |
download | tangerine-wallet-browser-6af932904d5cc320a2ef1e25ef5cdbfa23bbddb2.tar tangerine-wallet-browser-6af932904d5cc320a2ef1e25ef5cdbfa23bbddb2.tar.gz tangerine-wallet-browser-6af932904d5cc320a2ef1e25ef5cdbfa23bbddb2.tar.bz2 tangerine-wallet-browser-6af932904d5cc320a2ef1e25ef5cdbfa23bbddb2.tar.lz tangerine-wallet-browser-6af932904d5cc320a2ef1e25ef5cdbfa23bbddb2.tar.xz tangerine-wallet-browser-6af932904d5cc320a2ef1e25ef5cdbfa23bbddb2.tar.zst tangerine-wallet-browser-6af932904d5cc320a2ef1e25ef5cdbfa23bbddb2.zip |
Remove seedWords from UI state dump.
Diffstat (limited to 'ui/app/reducers.js')
-rw-r--r-- | ui/app/reducers.js | 6 |
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 +} |