diff options
author | Dan Finlay <flyswatter@users.noreply.github.com> | 2017-03-29 05:50:10 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-29 05:50:10 +0800 |
commit | d1733c1f7521d17b0e8acdae5a2be33c1a9bbd5c (patch) | |
tree | c9c9f743bbdcc1e77760545cdf8645656d195ac1 /ui/app | |
parent | 0f1ea5861f10193ab958fea6ba10a5e2aed4c839 (diff) | |
parent | a8ef68b1da3597244a3b51ade11c11c08c36f9cf (diff) | |
download | tangerine-wallet-browser-d1733c1f7521d17b0e8acdae5a2be33c1a9bbd5c.tar tangerine-wallet-browser-d1733c1f7521d17b0e8acdae5a2be33c1a9bbd5c.tar.gz tangerine-wallet-browser-d1733c1f7521d17b0e8acdae5a2be33c1a9bbd5c.tar.bz2 tangerine-wallet-browser-d1733c1f7521d17b0e8acdae5a2be33c1a9bbd5c.tar.lz tangerine-wallet-browser-d1733c1f7521d17b0e8acdae5a2be33c1a9bbd5c.tar.xz tangerine-wallet-browser-d1733c1f7521d17b0e8acdae5a2be33c1a9bbd5c.tar.zst tangerine-wallet-browser-d1733c1f7521d17b0e8acdae5a2be33c1a9bbd5c.zip |
Merge pull request #1272 from MetaMask/hideseedwordsfromlogstate
Hide seed words from UI State Dump
Diffstat (limited to 'ui/app')
-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 +} |