fix: networkId should be a string

This commit is contained in:
Richard Ramos 2020-09-30 12:17:42 -04:00 committed by Iuri Matias
parent ca2fef7c28
commit a9d9aeb0d3
1 changed files with 1 additions and 1 deletions

View File

@ -932,7 +932,7 @@ You may add additional accurate notices of copyright ownership.
} else if (payload.method == "eth_coinbase" && (typeof window.statusAppcurrentAccountAddress !== "undefined")) {
return web3Response(payload, window.statusAppcurrentAccountAddress)
} else if (payload.method == "net_version" || payload.method == "eth_chainId"){
return web3Response(payload, backend.networkId)
return web3Response(payload, backend.networkId.toString())
} else if (payload.method == "eth_uninstallFilter"){
return web3Response(payload, true);
} else {