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

This commit is contained in:
copilot-swe-agent[bot] authored and GitHub committed 2026-06-04 18:55:46 +00:00
1 parent 875a6a9297
commit 6f98c478e8
1 file changed
+4 -7
@@ -413,14 +413,11 @@ function handleFeatureToggle(feat, newEnabled) {
});
}
if (conflictNames.length > 0) {
var confirmMsg;
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?";
} else {
confirmMsg = "This will disable " + conflictNames.join(", ") + ". Continue?";
}
if (feat.id === "bitcoin-core") {
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?";
openFeatureConfirm(confirmMsg, proceedAfterConflictCheck);
} else if (conflictNames.length > 0) {
openFeatureConfirm("This will disable " + conflictNames.join(", ") + ". Continue?", proceedAfterConflictCheck);
} else {
proceedAfterConflictCheck();
}