Skip to content

Commit 8269c1f

Browse files
committed
Merge branch 'v1.4-dev' into feat/sdk/execution_info
2 parents 5af8822 + 93425cf commit 8269c1f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/rs-dapi-client/src/dapi_client.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ impl DapiRequestExecutor for DapiClient {
223223
tracing::trace!(?response, "received {} response", response_name);
224224
}
225225
Err(error) => {
226-
if !error.can_retry() {
226+
if error.can_retry() {
227227
if applied_settings.ban_failed_address {
228228
let mut address_list = self
229229
.address_list

packages/rs-dapi-client/src/transport/grpc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ impl CanRetry for dapi_grpc::tonic::Status {
122122

123123
use dapi_grpc::tonic::Code::*;
124124

125-
!matches!(
125+
matches!(
126126
code,
127127
Ok | DataLoss
128128
| Cancelled

0 commit comments

Comments
 (0)