Skip to content

Commit

Permalink
Add back JsonRpcService changes
Browse files Browse the repository at this point in the history
  • Loading branch information
garious authored and solana-grimes committed Aug 23, 2018
1 parent 85f96d9 commit 4ab58f0
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/fullnode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,16 @@ impl Fullnode {
);
thread_hdls.extend(rpu.thread_hdls());

let mut drone_addr = node.data.contact_info.tpu;
drone_addr.set_port(DRONE_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());
let rpc_service = JsonRpcService::new(
&bank,
node.data.contact_info.tpu,
drone_addr,
rpc_addr,
exit.clone(),
);
thread_hdls.extend(rpc_service.thread_hdls());

let blob_recycler = BlobRecycler::default();
Expand Down

0 comments on commit 4ab58f0

Please sign in to comment.