Skip to content

Commit

Permalink
Merge pull request #1520 from 0chain/hotfix/repair-check
Browse files Browse the repository at this point in the history
Relax repair logic
  • Loading branch information
dabasov committed Jun 9, 2024
2 parents bffaa2c + 5ea03ec commit 3726075
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zboxcore/sdk/rollback.go
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ func (a *Allocation) CheckAllocStatus() (AllocStatus, []BlobberStatus, error) {

req := a.DataShards

if len(versionMap[latestVersion]) > req {
if len(versionMap[latestVersion]) > req || len(versionMap[prevVersion]) > req {
return Commit, blobberRes, nil
}

Expand Down

0 comments on commit 3726075

Please sign in to comment.