Remove seedWords from UI state dump.

feature/default_network_editable
Kevin Serrano 8 years ago
parent a298130357
commit 6af932904d
No known key found for this signature in database
GPG Key ID: BF999DEFC7371BA1
  1. 6
      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
}

Loading…
Cancel
Save