aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/actions
diff options
context:
space:
mode:
authorMark Stacey <markjstacey@gmail.com>2019-07-26 21:35:21 +0800
committerGitHub <noreply@github.com>2019-07-26 21:35:21 +0800
commit1112277cd628378f8b0e659067456677ec9a45ac (patch)
tree77a4d1878ba8419a0e7400f9147bb67f44b4a177 /test/unit/actions
parent58965ed1643a816dca1fec608671017266709dda (diff)
downloadtangerine-wallet-browser-1112277cd628378f8b0e659067456677ec9a45ac.tar.gz
tangerine-wallet-browser-1112277cd628378f8b0e659067456677ec9a45ac.tar.zst
tangerine-wallet-browser-1112277cd628378f8b0e659067456677ec9a45ac.zip
Remove `seedWords` completely from metamask state (#6920)
`seedWords` used to be stored on the metamask state temporarily at certain points. This hasn't been the case since #5994, but references to this state remained. All of the logic remained for correctly updating these `seedWords`, handling them during navigation, and scrubbing them from the state. However the state was never updated in practice. The `seedWords` are still returned by `verifySeedPhrase`, and they're still stored in component state in a few places. But they aren't ever set in the Redux metadata state or the Preferences controller. All references to this state have been removed, along with any logic for interacting with this state. A few unused actions were removed as well.
Diffstat (limited to 'test/unit/actions')
-rw-r--r--test/unit/actions/tx_test.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/unit/actions/tx_test.js b/test/unit/actions/tx_test.js
index f2f8f1d1c..66378b594 100644
--- a/test/unit/actions/tx_test.js
+++ b/test/unit/actions/tx_test.js
@@ -35,7 +35,6 @@ describe('tx confirmation screen', function () {
actions._setBackgroundConnection({
approveTransaction (_, cb) { cb('An error!') },
cancelTransaction (_, cb) { cb() },
- clearSeedWordCache (cb) { cb() },
getState (cb) { cb() },
})
done()