3
0
mirror of https://github.com/Qortal/qortal.git synced 2025-02-14 19:25:48 +00:00

Removed duplicate metadata file checks.

This commit is contained in:
CalDescent 2022-02-03 19:53:29 +00:00
parent 0b7a7ed0f1
commit 1064b1a08b

View File

@ -460,9 +460,6 @@ public class ArbitraryDataFile {
if (this.metadataFile == null) {
this.metadataFile = ArbitraryDataFile.fromHash(this.metadataHash, this.signature);
if (!metadataFile.exists()) {
return false;
}
}
// If the metadata file doesn't exist, we can't check if we have the chunks
@ -501,9 +498,6 @@ public class ArbitraryDataFile {
if (this.metadataFile == null) {
this.metadataFile = ArbitraryDataFile.fromHash(this.metadataHash, this.signature);
if (!metadataFile.exists()) {
return false;
}
}
// If the metadata file doesn't exist, we can't check if we have any chunks