mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-30 03:01:58 -04:00
feat: use generic CapabilityMessage everywhere (#13116)
This commit is contained in:
@@ -264,7 +264,7 @@ pub enum ActiveSessionMessage<N: NetworkPrimitives> {
|
||||
/// Announced capabilities of the remote peer.
|
||||
capabilities: Arc<Capabilities>,
|
||||
/// Message received from the peer.
|
||||
message: CapabilityMessage,
|
||||
message: CapabilityMessage<N>,
|
||||
},
|
||||
/// Received a bad message from the peer.
|
||||
BadMessage {
|
||||
|
||||
@@ -710,7 +710,7 @@ pub enum SessionEvent<N: NetworkPrimitives> {
|
||||
/// Announced capabilities of the remote peer.
|
||||
capabilities: Arc<Capabilities>,
|
||||
/// Message received from the peer.
|
||||
message: CapabilityMessage,
|
||||
message: CapabilityMessage<N>,
|
||||
},
|
||||
/// Received a bad message from the peer.
|
||||
BadMessage {
|
||||
|
||||
Reference in New Issue
Block a user