Browse Source

Revert "Hopeful fix for ConcurrentModificationException in BlockArchiveReader.getFilenameForHeight()"

This reverts commit a12ae8ad24.
pull/75/head
CalDescent 3 years ago
parent
commit
b764172500
  1. 4
      src/main/java/org/qortal/repository/BlockArchiveReader.java

4
src/main/java/org/qortal/repository/BlockArchiveReader.java

@ -63,9 +63,7 @@ public class BlockArchiveReader {
map.put(filename, new Triple(startHeight, endHeight, range)); map.put(filename, new Triple(startHeight, endHeight, range));
} }
} }
synchronized (this.fileListCache) { this.fileListCache = map;
this.fileListCache = map;
}
} }
public Triple<BlockData, List<TransactionData>, List<ATStateData>> fetchBlockAtHeight(int height) { public Triple<BlockData, List<TransactionData>, List<ATStateData>> fetchBlockAtHeight(int height) {

Loading…
Cancel
Save