codechain-dashboard
codechain-dashboard copied to clipboard
Use RPC to get the port instead of parsing the argument
Currently, the client thinks the port of the node is 3485 if there is no argument.
https://github.com/CodeChain-io/codechain-dashboard/blob/2f061c27b74d44f1c4488e88a1d91c1640078c6a/client/src/process/mod.rs#L622
However, the port can be set through config.toml.
Please make it use net_port
RPC.