1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-26 12:29:06 +01:00

Remove seedWords from UI state dump.

This commit is contained in:
Kevin Serrano 2017-03-28 10:26:06 -04:00
parent a298130357
commit 6af932904d
No known key found for this signature in database
GPG Key ID: BF999DEFC7371BA1

View File

@ -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
}