1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 11:22:43 +02:00

Modified chain_id value(MetaMetrics), in the Custom Network Added event (#16426)

This commit is contained in:
Adnan Sahovic 2022-11-16 16:46:42 +01:00 committed by GitHub
parent 54429f531e
commit 04eee2b8cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -543,7 +543,7 @@ const NetworksForm = ({
url: rpcUrlOrigin,
},
properties: {
chain_id: addHexPrefix(chainId.toString(16)),
chain_id: addHexPrefix(Number(chainId).toString(16)),
network_name: networkName,
network: rpcUrlOrigin,
symbol: ticker,