Skip to content

Commit e1543b4

Browse files
authored
Merge pull request #1424 from 0chain/hotfix/retry-check
Fix retry check
2 parents 5d85d41 + 8593ba2 commit e1543b4

File tree

1 file changed

+1
-1
lines changed
  • code/go/0chain.net/blobbercore/writemarker

1 file changed

+1
-1
lines changed

code/go/0chain.net/blobbercore/writemarker/worker.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ func tryAgain(md *markerData) {
256256

257257
// Can add more cases where we don't want to retry
258258
func retryRedeem(errString string) bool {
259-
return !strings.Contains(errString, "value not present") || !strings.Contains(errString, "Blobber is not part of the allocation")
259+
return !strings.Contains(errString, "value not present") && !strings.Contains(errString, "Blobber is not part of the allocation")
260260
}
261261

262262
func startCollector(ctx context.Context) {

0 commit comments

Comments
 (0)