forked from Qortal/qortal
Hopeful fix for ConcurrentModificationException in BlockArchiveReader.getFilenameForHeight()
This commit is contained in:
parent
498ca29aab
commit
a12ae8ad24
@ -63,7 +63,9 @@ public class BlockArchiveReader {
|
||||
map.put(filename, new Triple(startHeight, endHeight, range));
|
||||
}
|
||||
}
|
||||
this.fileListCache = map;
|
||||
synchronized (this.fileListCache) {
|
||||
this.fileListCache = map;
|
||||
}
|
||||
}
|
||||
|
||||
public Triple<BlockData, List<TransactionData>, List<ATStateData>> fetchBlockAtHeight(int height) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user