Skip to content

Commit

Permalink
fix(client): reset sequential_payment_fails on batch upload success
Browse files Browse the repository at this point in the history
  • Loading branch information
maqi authored and joshuef committed Jan 8, 2024
1 parent b6628c9 commit ef2e1e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sn_client/src/files/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit ef2e1e8

Please sign in to comment.