@@ -1609,7 +1609,7 @@ impl<Descriptor: SocketDescriptor, CM: Deref, RM: Deref, OM: Deref, L: Deref, CM
1609
1609
}
1610
1610
1611
1611
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
1613
1613
// a GossipTimestampFilter
1614
1614
if peer_lock. their_features . as_ref ( ) . unwrap ( ) . supports_gossip_queries ( ) &&
1615
1615
!peer_lock. sent_gossip_timestamp_filter {
@@ -2216,7 +2216,7 @@ impl<Descriptor: SocketDescriptor, CM: Deref, RM: Deref, OM: Deref, L: Deref, CM
2216
2216
log_pubkey!( node_id) ) ;
2217
2217
}
2218
2218
// 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
2220
2220
// processing most messages.
2221
2221
let msg = msg. map ( |msg| wire:: Message :: < <<CMH as core:: ops:: Deref >:: Target as wire:: CustomMessageReader >:: CustomMessage > :: Error ( msg) ) ;
2222
2222
peers_to_disconnect. insert ( node_id, msg) ;
@@ -2225,7 +2225,7 @@ impl<Descriptor: SocketDescriptor, CM: Deref, RM: Deref, OM: Deref, L: Deref, CM
2225
2225
log_trace ! ( logger, "Handling DisconnectPeer HandleError event in peer_handler for node {} with message {}" ,
2226
2226
log_pubkey!( node_id) , msg. data) ;
2227
2227
// 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
2229
2229
// processing most messages.
2230
2230
peers_to_disconnect. insert ( node_id, Some ( wire:: Message :: Warning ( msg) ) ) ;
2231
2231
} ,
0 commit comments