From d9e1f983239aae28ce546f02ee038842ac9a4de1 Mon Sep 17 00:00:00 2001 From: Arik Sosman Date: Wed, 19 Feb 2020 17:57:03 -0800 Subject: [PATCH] Remove unused code in peer handler test utility method. --- lightning/src/ln/peer_handler.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/lightning/src/ln/peer_handler.rs b/lightning/src/ln/peer_handler.rs index 5fb2cdbde..6effe5433 100644 --- a/lightning/src/ln/peer_handler.rs +++ b/lightning/src/ln/peer_handler.rs @@ -1185,7 +1185,6 @@ mod tests { fn establish_connection<'a>(peer_a: &PeerManager, peer_b: &PeerManager) { let secp_ctx = Secp256k1::new(); let a_id = PublicKey::from_secret_key(&secp_ctx, &peer_a.our_node_secret); - //let b_id = PublicKey::from_secret_key(&secp_ctx, &peer_b.our_node_secret); let mut fd_a = FileDescriptor { fd: 1, outbound_data: Arc::new(Mutex::new(Vec::new())) }; let mut fd_b = FileDescriptor { fd: 1, outbound_data: Arc::new(Mutex::new(Vec::new())) }; let initial_data = peer_b.new_outbound_connection(a_id, fd_b.clone()).unwrap(); -- 2.39.5