Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
fix(grumbles): formatting nit
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasad1 committed Nov 26, 2018
1 parent 06b2ef7 commit 768feac
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ethcore/light/src/on_demand/request_guard.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ impl RequestGuard {
Error::LetThrough
}
}
// Circuit breaker is `open`, don't count as a failure
else {
// Circuit breaker is `open`, don't count as a failure
trace!(target: "circuit_breaker", "RequestGuard; failures: {}/{}, state {:?}",
self.num_failures, self.max_failures, self.state);
Error::Rejected
Expand All @@ -92,4 +92,3 @@ impl RequestGuard {
self.state.is_call_permitted()
}
}

0 comments on commit 768feac

Please sign in to comment.