Remove duplicate state

This commit is contained in:
Greg Fitzgerald
2018-05-03 13:24:35 -06:00
parent 03695ba4c5
commit de680c2a8e
4 changed files with 18 additions and 19 deletions

View File

@@ -104,7 +104,7 @@ fn main() {
let (input, event_receiver) = sync_channel(10_000);
let historian = Historian::new(event_receiver, &last_id, Some(1000));
let exit = Arc::new(AtomicBool::new(false));
let skel = Arc::new(AccountantSkel::new(acc, last_id, input, historian));
let skel = Arc::new(AccountantSkel::new(acc, input, historian));
let serve_sock = UdpSocket::bind(&serve_addr).unwrap();
let gossip_sock = UdpSocket::bind(&gossip_addr).unwrap();
let replicate_sock = UdpSocket::bind(&replicate_addr).unwrap();