aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/controllers
diff options
context:
space:
mode:
authorEsteban MIno <efmino@uc.cl>2018-08-15 07:09:56 +0800
committerEsteban MIno <efmino@uc.cl>2018-08-15 07:09:56 +0800
commita4b6b2357a2eee7a4286a8490b8d31aac487120d (patch)
treebe472148f77130f992bdfb5d6639cd273214808e /app/scripts/controllers
parenta4c3f6b65c9a25da0319b9077d830c23f729b32f (diff)
downloadtangerine-wallet-browser-a4b6b2357a2eee7a4286a8490b8d31aac487120d.tar
tangerine-wallet-browser-a4b6b2357a2eee7a4286a8490b8d31aac487120d.tar.gz
tangerine-wallet-browser-a4b6b2357a2eee7a4286a8490b8d31aac487120d.tar.bz2
tangerine-wallet-browser-a4b6b2357a2eee7a4286a8490b8d31aac487120d.tar.lz
tangerine-wallet-browser-a4b6b2357a2eee7a4286a8490b8d31aac487120d.tar.xz
tangerine-wallet-browser-a4b6b2357a2eee7a4286a8490b8d31aac487120d.tar.zst
tangerine-wallet-browser-a4b6b2357a2eee7a4286a8490b8d31aac487120d.zip
watchToken to watchAsset
Diffstat (limited to 'app/scripts/controllers')
-rw-r--r--app/scripts/controllers/preferences.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/controllers/preferences.js b/app/scripts/controllers/preferences.js
index a92db15c7..04c9a3254 100644
--- a/app/scripts/controllers/preferences.js
+++ b/app/scripts/controllers/preferences.js
@@ -77,7 +77,7 @@ class PreferencesController {
* @param {Function} - end
*/
requestAddToken (req, res, next, end) {
- if (req.method === 'metamask_watchToken') {
+ if (req.method === 'metamask_watchAsset') {
const [ rawAddress, symbol, decimals, imageUrl ] = req.params
this._validateSuggestedTokenParams({ rawAddress, symbol, decimals })
const tokenOpts = {