CodeChain-io/codechain-dashboard

Use RPC to get the port instead of parsing the argument

Opened this issue · 0 comments

Currently, the client thinks the port of the node is 3485 if there is no argument.

fn parse_flags(args: &[String]) -> (u16, String) {

However, the port can be set through config.toml.
Please make it use net_port RPC.