aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorEsteban MIno <efmino@uc.cl>2018-08-15 00:58:47 +0800
committerEsteban MIno <efmino@uc.cl>2018-08-15 00:58:47 +0800
commit8f5b80a0fe13c53a602a5b2883ae1cdfba0123e1 (patch)
tree3d7769ae0522bb729703892836d680ebe917b99b /app
parentc245405acb2323239d079d574cbf4230ec068c35 (diff)
downloadtangerine-wallet-browser-8f5b80a0fe13c53a602a5b2883ae1cdfba0123e1.tar
tangerine-wallet-browser-8f5b80a0fe13c53a602a5b2883ae1cdfba0123e1.tar.gz
tangerine-wallet-browser-8f5b80a0fe13c53a602a5b2883ae1cdfba0123e1.tar.bz2
tangerine-wallet-browser-8f5b80a0fe13c53a602a5b2883ae1cdfba0123e1.tar.lz
tangerine-wallet-browser-8f5b80a0fe13c53a602a5b2883ae1cdfba0123e1.tar.xz
tangerine-wallet-browser-8f5b80a0fe13c53a602a5b2883ae1cdfba0123e1.tar.zst
tangerine-wallet-browser-8f5b80a0fe13c53a602a5b2883ae1cdfba0123e1.zip
update method to metamask_watchToken
Diffstat (limited to 'app')
-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 4aa91534d..4cc08a9af 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 === 'eth_watchToken') {
+ if (req.method === 'metamask_watchToken') {
const [ rawAddress, symbol, decimals ] = req.params
this._validateSuggestedTokenParams({ rawAddress, symbol, decimals })
const tokenOpts = {