We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5af8822 + 93425cf commit 8269c1fCopy full SHA for 8269c1f
packages/rs-dapi-client/src/dapi_client.rs
@@ -223,7 +223,7 @@ impl DapiRequestExecutor for DapiClient {
223
tracing::trace!(?response, "received {} response", response_name);
224
}
225
Err(error) => {
226
- if !error.can_retry() {
+ if error.can_retry() {
227
if applied_settings.ban_failed_address {
228
let mut address_list = self
229
.address_list
packages/rs-dapi-client/src/transport/grpc.rs
@@ -122,7 +122,7 @@ impl CanRetry for dapi_grpc::tonic::Status {
122
123
use dapi_grpc::tonic::Code::*;
124
125
- !matches!(
+ matches!(
126
code,
127
Ok | DataLoss
128
| Cancelled
0 commit comments