Fix validator rpc addr to match leader
This commit is contained in:
parent
0b48aea937
commit
86c1d97c13
|
@ -297,8 +297,7 @@ impl Fullnode {
|
|||
);
|
||||
thread_hdls.extend(rpu.thread_hdls());
|
||||
|
||||
let mut rpc_addr = node.data.contact_info.ncp;
|
||||
rpc_addr.set_port(RPC_PORT);
|
||||
let rpc_addr = SocketAddr::new(IpAddr::V4(Ipv4Addr::new(0, 0, 0, 0)), RPC_PORT);
|
||||
let rpc_service = JsonRpcService::new(bank.clone(), rpc_addr, exit.clone());
|
||||
thread_hdls.extend(rpc_service.thread_hdls());
|
||||
|
||||
|
|
Loading…
Reference in New Issue