Skip to content

Commit

Permalink
fix: wallet_watchAssets decimals field type
Browse files Browse the repository at this point in the history
  • Loading branch information
beilunyang committed Jun 11, 2024
1 parent 4591f29 commit 881f414
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1806,7 +1806,7 @@ const initializeFormElements = () => {
options: {
address: erc20Address,
symbol: tokenSymbol,
decimals: decimalUnitsInput.value,
decimals: parseInt(decimalUnitsInput.value, 10),
image: 'https://metamask.github.io/test-dapp/metamask-fox.svg',
},
},
Expand Down

0 comments on commit 881f414

Please sign in to comment.