Skip to content

Commit 34a0ff5

Browse files
committed
f drop useless comment
1 parent 83bae0b commit 34a0ff5

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
@@ -1168,7 +1168,6 @@ impl<Descriptor: SocketDescriptor, CM: Deref, RM: Deref, OM: Deref, L: Deref, CM
11681168
if peer.pending_outbound_buffer_first_msg_offset == next_buff.len() {
11691169
peer.pending_outbound_buffer_first_msg_offset = 0;
11701170
peer.pending_outbound_buffer.pop_front();
1171-
// Try to keep the buffer to no more than 170 elements
11721171
const VEC_SIZE: usize = ::core::mem::size_of::<Vec<u8>>();
11731172
let large_capacity = peer.pending_outbound_buffer.capacity() > 4096 / VEC_SIZE;
11741173
let lots_of_slack = peer.pending_outbound_buffer.len()

0 commit comments

Comments
 (0)