@@ -1609,7 +1609,7 @@ impl<Descriptor: SocketDescriptor, CM: Deref, RM: Deref, OM: Deref, L: Deref, CM
16091609 }
16101610
16111611 if let wire:: Message :: GossipTimestampFilter ( _msg) = message {
1612- // When supporting gossip messages, start inital gossip sync only after we receive
1612+ // When supporting gossip messages, start initial gossip sync only after we receive
16131613 // a GossipTimestampFilter
16141614 if peer_lock. their_features . as_ref ( ) . unwrap ( ) . supports_gossip_queries ( ) &&
16151615 !peer_lock. sent_gossip_timestamp_filter {
@@ -2216,7 +2216,7 @@ impl<Descriptor: SocketDescriptor, CM: Deref, RM: Deref, OM: Deref, L: Deref, CM
22162216 log_pubkey!( node_id) ) ;
22172217 }
22182218 // We do not have the peers write lock, so we just store that we're
2219- // about to disconenct the peer and do it after we finish
2219+ // about to disconnect the peer and do it after we finish
22202220 // processing most messages.
22212221 let msg = msg. map ( |msg| wire:: Message :: < <<CMH as core:: ops:: Deref >:: Target as wire:: CustomMessageReader >:: CustomMessage > :: Error ( msg) ) ;
22222222 peers_to_disconnect. insert ( node_id, msg) ;
@@ -2225,7 +2225,7 @@ impl<Descriptor: SocketDescriptor, CM: Deref, RM: Deref, OM: Deref, L: Deref, CM
22252225 log_trace ! ( logger, "Handling DisconnectPeer HandleError event in peer_handler for node {} with message {}" ,
22262226 log_pubkey!( node_id) , msg. data) ;
22272227 // We do not have the peers write lock, so we just store that we're
2228- // about to disconenct the peer and do it after we finish
2228+ // about to disconnect the peer and do it after we finish
22292229 // processing most messages.
22302230 peers_to_disconnect. insert ( node_id, Some ( wire:: Message :: Warning ( msg) ) ) ;
22312231 } ,
0 commit comments