From ae8825a5e342d02824b6fa45cb0dcb3cd381da65 Mon Sep 17 00:00:00 2001 From: MrSphay Date: Fri, 15 May 2026 18:57:07 +0200 Subject: [PATCH] Fix migration checksum type inference --- packages/app-lib/src/state/db.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/app-lib/src/state/db.rs b/packages/app-lib/src/state/db.rs index e43825c3e..7283f96bf 100644 --- a/packages/app-lib/src/state/db.rs +++ b/packages/app-lib/src/state/db.rs @@ -74,9 +74,9 @@ async fn reconcile_historical_migration_checksums( .await?; if let Some(stored_checksum) = stored_checksum { - let bundled_checksum = init_migration.checksum.as_ref(); + let bundled_checksum: &[u8] = init_migration.checksum.as_ref(); - if stored_checksum != bundled_checksum { + if stored_checksum.as_slice() != bundled_checksum { tracing::warn!( "Reconciling checksum for historical Modrinth init migration {}", HISTORICAL_INIT_MIGRATION_VERSION