Skip to content

Commit

Permalink
Merge of #6711
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] authored Dec 17, 2024
2 parents 1de4983 + d409a82 commit b603ae6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions beacon_node/lighthouse_network/src/rpc/handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -964,6 +964,9 @@ where
request_info: (Id, RequestType<E>),
error: StreamUpgradeError<RPCError>,
) {
// This dialing is now considered failed
self.dial_negotiated -= 1;

let (id, req) = request_info;

// map the error
Expand All @@ -989,9 +992,6 @@ where
StreamUpgradeError::Apply(other) => other,
};

// This dialing is now considered failed
self.dial_negotiated -= 1;

self.outbound_io_error_retries = 0;
self.events_out
.push(HandlerEvent::Err(HandlerErr::Outbound {
Expand Down

0 comments on commit b603ae6

Please sign in to comment.