Fix bitcoin-core confirmation dialog: show always when enabling (not just on conflicts)

This commit is contained in:
copilot-swe-agent[bot]
2026-06-04 18:55:46 +00:00
committed by GitHub
parent 875a6a9297
commit 6f98c478e8
@@ -413,14 +413,11 @@ function handleFeatureToggle(feat, newEnabled) {
}); });
} }
if (conflictNames.length > 0) {
var confirmMsg;
if (feat.id === "bitcoin-core") { if (feat.id === "bitcoin-core") {
confirmMsg = "Only one Bitcoin node implementation can be active. Enabling Bitcoin Core will replace Bitcoin Knots + BIP110. Your timechain data will be preserved — you will not need to re-download the timechain. Continue?"; var confirmMsg = "Only one Bitcoin node implementation can be active. Enabling Bitcoin Core will replace Bitcoin Knots + BIP110 as the active node. Your timechain data will be preserved — you will not need to re-download the timechain. Continue?";
} else {
confirmMsg = "This will disable " + conflictNames.join(", ") + ". Continue?";
}
openFeatureConfirm(confirmMsg, proceedAfterConflictCheck); openFeatureConfirm(confirmMsg, proceedAfterConflictCheck);
} else if (conflictNames.length > 0) {
openFeatureConfirm("This will disable " + conflictNames.join(", ") + ". Continue?", proceedAfterConflictCheck);
} else { } else {
proceedAfterConflictCheck(); proceedAfterConflictCheck();
} }