Skip to content

Commit d9e1f98

Browse files
committed
Remove unused code in peer handler test utility method.
1 parent b317f52 commit d9e1f98

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lightning/src/ln/peer_handler.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1185,7 +1185,6 @@ mod tests {
11851185
fn establish_connection<'a>(peer_a: &PeerManager<FileDescriptor, &'a test_utils::TestChannelMessageHandler>, peer_b: &PeerManager<FileDescriptor, &'a test_utils::TestChannelMessageHandler>) {
11861186
let secp_ctx = Secp256k1::new();
11871187
let a_id = PublicKey::from_secret_key(&secp_ctx, &peer_a.our_node_secret);
1188-
//let b_id = PublicKey::from_secret_key(&secp_ctx, &peer_b.our_node_secret);
11891188
let mut fd_a = FileDescriptor { fd: 1, outbound_data: Arc::new(Mutex::new(Vec::new())) };
11901189
let mut fd_b = FileDescriptor { fd: 1, outbound_data: Arc::new(Mutex::new(Vec::new())) };
11911190
let initial_data = peer_b.new_outbound_connection(a_id, fd_b.clone()).unwrap();

0 commit comments

Comments
 (0)