Skip to content

Commit

Permalink
Merge pull request #6 from 0chain/feat/enterprise-blobber
Browse files Browse the repository at this point in the history
Remove hash check
  • Loading branch information
dabasov authored Aug 18, 2024
2 parents 0be0b56 + 3309118 commit 59dcd54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/go/0chain.net/blobbercore/filestore/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -846,7 +846,7 @@ func (fs *FileStore) getAllocDir(allocID string) string {
}

func (fs *FileStore) GetPathForFile(allocID, hash string, version int) (string, error) {
if len(allocID) != 64 || len(hash) != 64 {
if len(allocID) != 64 {
return "", errors.New("length of allocationID/hash must be 64")
}
var versionStr string
Expand Down

0 comments on commit 59dcd54

Please sign in to comment.