diff --git a/code/go/0chain.net/blobbercore/filestore/storage.go b/code/go/0chain.net/blobbercore/filestore/storage.go index c9cdf171a..611157476 100644 --- a/code/go/0chain.net/blobbercore/filestore/storage.go +++ b/code/go/0chain.net/blobbercore/filestore/storage.go @@ -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