Skip to content

Commit 6620899

Browse files
authored
Merge pull request #267 from CortexFoundation/dev
torrent/storage | merkleroot hotfix
2 parents 75c9a26 + 0d58258 commit 6620899

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torrentfs/storage.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,7 @@ func (fs *FileStorage) GetRootByNumber(number uint64) (root []byte) {
653653
v := buk.Get([]byte(strconv.FormatUint(number, 16)))
654654

655655
if v == nil {
656-
return ErrReadDataFromBoltDB
656+
return nil
657657
}
658658

659659
root = v

0 commit comments

Comments
 (0)