From 78856c658a7747b739898d8e710d4d53fb3e9715 Mon Sep 17 00:00:00 2001 From: Francisco Gindre Date: Thu, 20 Oct 2022 11:17:34 -0300 Subject: [PATCH] Fix: successive launches of the application fail because the closed range of the migrations to apply would be invalid (lower range > that upper range) --- .../Block/DatabaseStorage/DatabaseMigrationManager.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/ZcashLightClientKit/Block/DatabaseStorage/DatabaseMigrationManager.swift b/Sources/ZcashLightClientKit/Block/DatabaseStorage/DatabaseMigrationManager.swift index de268e15..0a531956 100644 --- a/Sources/ZcashLightClientKit/Block/DatabaseStorage/DatabaseMigrationManager.swift +++ b/Sources/ZcashLightClientKit/Block/DatabaseStorage/DatabaseMigrationManager.swift @@ -20,7 +20,7 @@ class MigrationManager { } static let latestCacheDbMigration: CacheDbMigration = CacheDbMigration.none - static let latestPendingDbMigration: PendingDbMigration = PendingDbMigration.v1 + static let latestPendingDbMigration: PendingDbMigration = PendingDbMigration.v2 var cacheDb: ConnectionProvider var pendingDb: ConnectionProvider