diff options
author | Dan Finlay <dan@danfinlay.com> | 2017-08-30 02:42:44 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2017-08-30 02:42:44 +0800 |
commit | 54ce267a9f804b1733d2627ac7568d5eb6fe6518 (patch) | |
tree | 85f227981f66875ed53904c11e031d0fa2c29f5c /ui | |
parent | 71de68fc13d83934e8bc81ba43574a946bc32159 (diff) | |
download | tangerine-wallet-browser-54ce267a9f804b1733d2627ac7568d5eb6fe6518.tar.gz tangerine-wallet-browser-54ce267a9f804b1733d2627ac7568d5eb6fe6518.tar.zst tangerine-wallet-browser-54ce267a9f804b1733d2627ac7568d5eb6fe6518.zip |
Add version to state logs
Fixes #1986
Diffstat (limited to 'ui')
-rw-r--r-- | ui/app/reducers.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ui/app/reducers.js b/ui/app/reducers.js index 36045772f..6a2f44534 100644 --- a/ui/app/reducers.js +++ b/ui/app/reducers.js @@ -42,7 +42,10 @@ function rootReducer (state, action) { } window.logState = function () { - var stateString = JSON.stringify(window.METAMASK_CACHED_LOG_STATE, removeSeedWords, 2) + let state = window.METAMASK_CACHED_LOG_STATE + const version = global.platform.getVersion() + state.version = version + let stateString = JSON.stringify(state, removeSeedWords, 2) return stateString } |