Merge pull request #1272 from MetaMask/hideseedwordsfromlogstate

Hide seed words from UI State Dump
feature/default_network_editable
Dan Finlay 8 years ago committed by GitHub
commit d1733c1f75
  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