aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/controllers
diff options
context:
space:
mode:
authorEsteban MIno <efmino@uc.cl>2018-08-04 07:24:12 +0800
committerEsteban MIno <efmino@uc.cl>2018-08-04 07:24:12 +0800
commit9ac9f53a73357238ed2ee0ce57c65de592cfd968 (patch)
tree3ae3540c33a84dc5fc744aaee15fde6f76f2f6c6 /app/scripts/controllers
parent12dd7a72323bf82d60e99502104e375864c0fbab (diff)
downloadtangerine-wallet-browser-9ac9f53a73357238ed2ee0ce57c65de592cfd968.tar
tangerine-wallet-browser-9ac9f53a73357238ed2ee0ce57c65de592cfd968.tar.gz
tangerine-wallet-browser-9ac9f53a73357238ed2ee0ce57c65de592cfd968.tar.bz2
tangerine-wallet-browser-9ac9f53a73357238ed2ee0ce57c65de592cfd968.tar.lz
tangerine-wallet-browser-9ac9f53a73357238ed2ee0ce57c65de592cfd968.tar.xz
tangerine-wallet-browser-9ac9f53a73357238ed2ee0ce57c65de592cfd968.tar.zst
tangerine-wallet-browser-9ac9f53a73357238ed2ee0ce57c65de592cfd968.zip
eth_watchToken working
Diffstat (limited to 'app/scripts/controllers')
-rw-r--r--app/scripts/controllers/preferences.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/scripts/controllers/preferences.js b/app/scripts/controllers/preferences.js
index 50f716852..521a68a66 100644
--- a/app/scripts/controllers/preferences.js
+++ b/app/scripts/controllers/preferences.js
@@ -211,6 +211,13 @@ class PreferencesController {
return selected
}
+ removeSuggestedTokens () {
+ return new Promise((resolve, reject) => {
+ this.store.updateState({ suggestedTokens: {} })
+ resolve()
+ })
+ }
+
/**
* Setter for the `selectedAddress` property
*