From ef2e1e807a7a9d871d8b0c1f09b64f0f9dca5256 Mon Sep 17 00:00:00 2001 From: qima Date: Mon, 8 Jan 2024 18:28:06 +0800 Subject: [PATCH] fix(client): reset sequential_payment_fails on batch upload success --- sn_client/src/files/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/sn_client/src/files/mod.rs b/sn_client/src/files/mod.rs index 0e9ca85b73..88a0be2108 100644 --- a/sn_client/src/files/mod.rs +++ b/sn_client/src/files/mod.rs @@ -222,6 +222,7 @@ impl Files { match res { Ok(()) => { trace!("Uploaded batch {batch}/{n_batches}"); + sequential_payment_fails = 0; } Err(err) => match err { ClientError::CouldNotVerifyTransfer(err) => {