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:
parent
a298130357
commit
6af932904d
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user