From 6f98c478e809ed51869ea5436e15154aad678842 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 4 Jun 2026 18:55:46 +0000 Subject: [PATCH] Fix bitcoin-core confirmation dialog: show always when enabling (not just on conflicts) --- app/sovran_systemsos_web/static/js/features.js | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/app/sovran_systemsos_web/static/js/features.js b/app/sovran_systemsos_web/static/js/features.js index e575cce..794a012 100644 --- a/app/sovran_systemsos_web/static/js/features.js +++ b/app/sovran_systemsos_web/static/js/features.js @@ -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(); }