We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74fce7e commit abbd511Copy full SHA for abbd511
node/src/actors/session/handlers.rs
@@ -189,10 +189,9 @@ impl StreamHandler<Result<BytesMut, Error>> for Session {
189
try_consolidate_session(self, ctx);
190
}
191
Err(err) => {
192
- if let HandshakeError::DifferentTimestamp { .. } = err {
193
- // Remove this address from tried bucket and ice it
194
- self.remove_and_ice_peer();
195
- } else if let HandshakeError::DifferentEpoch { .. } = err {
+ if let HandshakeError::DifferentTimestamp { .. }
+ | HandshakeError::DifferentEpoch { .. } = err
+ {
196
// Remove this address from tried bucket and ice it
197
self.remove_and_ice_peer();
198
} else if session_type == SessionType::Feeler
0 commit comments