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
*/
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 {