forked from Qortal/qortal
Fixed issue in ArbitraryDataFile.chunkExists() due to it not checking for the metadata file.
This commit is contained in:
parent
e2e87766fa
commit
b198a8ea07
@ -439,6 +439,11 @@ public class ArbitraryDataFile {
|
||||
return chunk.exists();
|
||||
}
|
||||
}
|
||||
if (Arrays.equals(hash, this.metadataHash)) {
|
||||
if (this.metadataFile != null) {
|
||||
return this.metadataFile.exists();
|
||||
}
|
||||
}
|
||||
if (Arrays.equals(this.getHash(), hash)) {
|
||||
return this.exists();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user