Skip to content

Commit

Permalink
return selected
Browse files Browse the repository at this point in the history
  • Loading branch information
Hitenjain14 committed Jun 11, 2024
1 parent 1125036 commit c936c09
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions zboxcore/sdk/filerefsworker.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ func (o *ObjectTreeRequest) GetRefs() (*ObjectTreeResult, error) {
}
if len(selected.Refs) > 0 {
selected.OffsetPath = selected.Refs[len(selected.Refs)-1].Path
return selected, nil
}
return nil, errors.New("consensus_failed", "Refs consensus is less than consensus threshold")
}
Expand Down

0 comments on commit c936c09

Please sign in to comment.