3
0
mirror of https://github.com/Qortal/qortal.git synced 2025-02-19 13:45:47 +00:00

Bumped default block archive serialization version to V2.

This commit is contained in:
CalDescent 2023-02-03 12:36:57 +01:00
parent d27316eb64
commit 257ca2da05

View File

@ -80,7 +80,7 @@ public class BlockArchiveWriter {
* @param repository * @param repository
*/ */
public BlockArchiveWriter(int startHeight, int endHeight, Repository repository) { public BlockArchiveWriter(int startHeight, int endHeight, Repository repository) {
this(startHeight, endHeight, 1, Paths.get(Settings.getInstance().getRepositoryPath(), "archive"), repository); this(startHeight, endHeight, 2, Paths.get(Settings.getInstance().getRepositoryPath(), "archive"), repository);
} }
public static int getMaxArchiveHeight(Repository repository) throws DataException { public static int getMaxArchiveHeight(Repository repository) throws DataException {