mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-02-06 13:04:58 -05:00
fix(net): set disconnect status (#520)
This commit is contained in:
@@ -224,6 +224,7 @@ impl<S> P2PStream<S> {
|
||||
let mut buf = BytesMut::with_capacity(disconnect.length());
|
||||
disconnect.encode(&mut buf);
|
||||
self.outgoing_messages.push_back(buf.freeze());
|
||||
self.disconnecting = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user