forked from Qortal/qortal
Removed duplicate metadata file checks.
This commit is contained in:
parent
0b7a7ed0f1
commit
1064b1a08b
@ -460,9 +460,6 @@ public class ArbitraryDataFile {
|
|||||||
|
|
||||||
if (this.metadataFile == null) {
|
if (this.metadataFile == null) {
|
||||||
this.metadataFile = ArbitraryDataFile.fromHash(this.metadataHash, this.signature);
|
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
|
// 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) {
|
if (this.metadataFile == null) {
|
||||||
this.metadataFile = ArbitraryDataFile.fromHash(this.metadataHash, this.signature);
|
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
|
// If the metadata file doesn't exist, we can't check if we have any chunks
|
||||||
|
Loading…
Reference in New Issue
Block a user