f sp
authorMatt Corallo <git@bluematt.me>
Thu, 28 Oct 2021 17:45:38 +0000 (17:45 +0000)
committerMatt Corallo <git@bluematt.me>
Thu, 28 Oct 2021 18:26:10 +0000 (18:26 +0000)
lightning/src/ln/peer_handler.rs

index c2fb8982b7cd0c1efddecb5508f292cee44661e9..fb560941d56672476d68762ee44b6542e73d5681 100644 (file)
@@ -1734,7 +1734,7 @@ mod tests {
                let (mut fd_a, mut fd_b) = establish_connection(&peers[0], &peers[1]);
 
                // Make each peer to read the messages that the other peer just wrote to them. Note that
-               // due to the max-messagse-before-bing limits this may take a few iterations to complete.
+               // due to the max-messagse-before-ping limits this may take a few iterations to complete.
                for _ in 0..150/super::BUFFER_DRAIN_MSGS_PER_TICK + 1 {
                        peers[0].process_events();
                        let b_read_data = fd_a.outbound_data.lock().unwrap().split_off(0);