Remove unused method in HandlerNetworkContext (#3299)
## Issue Addressed N/A ## Proposed Changes Removed unused method in `HandlerNetworkContext`.
This commit is contained in:
parent
1219da9a45
commit
1cc8a97d4e
@ -409,22 +409,6 @@ impl<T: EthSpec> HandlerNetworkContext<T> {
|
||||
response,
|
||||
})
|
||||
}
|
||||
|
||||
/// Sends an error response to the network task.
|
||||
pub fn _send_error_response(
|
||||
&mut self,
|
||||
peer_id: PeerId,
|
||||
id: PeerRequestId,
|
||||
error: RPCResponseErrorCode,
|
||||
reason: String,
|
||||
) {
|
||||
self.inform_network(NetworkMessage::SendErrorResponse {
|
||||
peer_id,
|
||||
error,
|
||||
id,
|
||||
reason,
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
fn timestamp_now() -> Duration {
|
||||
|
Loading…
Reference in New Issue
Block a user