mirror of
https://github.com/Qortal/qortal.git
synced 2025-02-12 18:25:49 +00:00
Fixed bug which overwrote the data file, causing it to be invalid.
This commit is contained in:
parent
c790ea07dd
commit
743a61bf49
@ -124,7 +124,6 @@ public class DataFileWriter {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void validate() throws IOException {
|
private void validate() throws IOException {
|
||||||
this.dataFile = DataFile.fromPath(this.filePath.toString());
|
|
||||||
if (this.dataFile == null) {
|
if (this.dataFile == null) {
|
||||||
throw new IOException("No file available when validating");
|
throw new IOException("No file available when validating");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user