From a7ee4282142fc92278474aec69c16dad83578bdb Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Thu, 15 Nov 2018 13:42:57 -0800 Subject: [PATCH] Fix build --- src/bin/fullnode.rs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/bin/fullnode.rs b/src/bin/fullnode.rs index eab92fa674..f385cf4d4e 100644 --- a/src/bin/fullnode.rs +++ b/src/bin/fullnode.rs @@ -123,11 +123,8 @@ fn main() { None => { //self = leader if rpc_port.is_some() { - node_info.contact_info.rpc.set_port(rpc_port.unwrap()); - node_info - .contact_info - .rpc_pubsub - .set_port(rpc_port.unwrap() + 1); + node_info.rpc.set_port(rpc_port.unwrap()); + node_info.rpc_pubsub.set_port(rpc_port.unwrap() + 1); } node_info }