mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
implement part of reth p2p rlpx ping (#9762)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
@ -302,7 +302,7 @@ impl<S> P2PStream<S> {
|
||||
}
|
||||
|
||||
/// Queues in a _snappy_ encoded [`P2PMessage::Ping`] message.
|
||||
fn send_ping(&mut self) {
|
||||
pub fn send_ping(&mut self) {
|
||||
self.outgoing_messages.push_back(Bytes::from(alloy_rlp::encode(P2PMessage::Ping)));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user