mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
watchToken to watchAsset
This commit is contained in:
parent
a4c3f6b65c
commit
a4b6b2357a
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user