forked from Qortal/qortal
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 {
|
||||
this.dataFile = DataFile.fromPath(this.filePath.toString());
|
||||
if (this.dataFile == null) {
|
||||
throw new IOException("No file available when validating");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user