fix: networkId should be a string
This commit is contained in:
parent
ca2fef7c28
commit
a9d9aeb0d3
|
@ -932,7 +932,7 @@ You may add additional accurate notices of copyright ownership.
|
||||||
} else if (payload.method == "eth_coinbase" && (typeof window.statusAppcurrentAccountAddress !== "undefined")) {
|
} else if (payload.method == "eth_coinbase" && (typeof window.statusAppcurrentAccountAddress !== "undefined")) {
|
||||||
return web3Response(payload, window.statusAppcurrentAccountAddress)
|
return web3Response(payload, window.statusAppcurrentAccountAddress)
|
||||||
} else if (payload.method == "net_version" || payload.method == "eth_chainId"){
|
} 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"){
|
} else if (payload.method == "eth_uninstallFilter"){
|
||||||
return web3Response(payload, true);
|
return web3Response(payload, true);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue