From d71805abb6cec1f0789c8013022e7894bbad5dcc Mon Sep 17 00:00:00 2001 From: Pravdyvy Date: Wed, 18 Mar 2026 08:24:39 +0200 Subject: [PATCH] fix: merge updates --- Cargo.lock | 1 - bedrock_client/src/lib.rs | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 83ce4b5b..fab7b447 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5531,7 +5531,6 @@ dependencies = [ name = "nssa" version = "0.1.0" dependencies = [ - "amm_core", "anyhow", "borsh", "env_logger", diff --git a/bedrock_client/src/lib.rs b/bedrock_client/src/lib.rs index 6214226c..fdd14f72 100644 --- a/bedrock_client/src/lib.rs +++ b/bedrock_client/src/lib.rs @@ -69,13 +69,13 @@ impl BedrockClient { .post_transaction(self.node_url.clone(), tx.clone()) .await { - Ok(_) => Ok(Ok(())), + Ok(()) => Ok(Ok(())), Err(err) => match err { // Retry arm. // Retrying only reqwest errors: mainly connected to http. Error::Request(_) => Err(err), // Returning non-retryable error - _ => Ok(Err(err)), + Error::Server(_) | Error::Client(_) | Error::Url(_) => Ok(Err(err)), }, } })