forked from Qortal/qortal
Improved response value of ArbitraryDataFile.deleteAllChunks() as it was inaccurate.
This commit is contained in:
parent
8fa61e628c
commit
988a839623
@ -330,9 +330,8 @@ public class ArbitraryDataFile {
|
||||
Iterator iterator = this.chunks.iterator();
|
||||
while (iterator.hasNext()) {
|
||||
ArbitraryDataFileChunk chunk = (ArbitraryDataFileChunk) iterator.next();
|
||||
chunk.delete();
|
||||
success = chunk.delete();
|
||||
iterator.remove();
|
||||
success = true;
|
||||
}
|
||||
}
|
||||
return success;
|
||||
|
Loading…
Reference in New Issue
Block a user