diff --git a/src/internet_identity/src/archive.rs b/src/internet_identity/src/archive.rs index deedd5ffff..0fd5744334 100644 --- a/src/internet_identity/src/archive.rs +++ b/src/internet_identity/src/archive.rs @@ -151,7 +151,7 @@ async fn archive_change_required(archive_canister: Principal, config: &ArchiveCo if !status .init - .map_or(false, |init| init == config_to_init(config)) + .is_some_and(|init| init == config_to_init(config)) { // the init arguments have changed --> deployment required regardless of wasm hash return true;