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