Compare commits

3 Commits

Author SHA1 Message Date
Sovran_Systems
9413bb6403 Merge pull request #98 from naturallaw777/copilot/fix-bip110-version-check
Fix BIP110 version label: detect via tile icon, not subversion string
2026-04-06 21:53:44 -05:00
copilot-swe-agent[bot]
28bcddb957 Fix BIP110 version display: detect by tile icon, not subversion string
Agent-Logs-Url: https://github.com/naturallaw777/staging_alpha/sessions/23090422-e59c-4d7e-8d5e-6fd36b6cf337

Co-authored-by: naturallaw777 <99053422+naturallaw777@users.noreply.github.com>
2026-04-07 02:50:02 +00:00
copilot-swe-agent[bot]
1737e93c68 Initial plan 2026-04-07 02:47:51 +00:00
2 changed files with 117 additions and 1 deletions

View File

@@ -1806,6 +1806,8 @@ async def api_services():
if ver_info is not None:
subversion = ver_info.get("subversion", "")
btc_ver = _parse_bitcoin_subversion(subversion)
if icon == "bip110" and "(bip110)" not in btc_ver.lower():
btc_ver += " (bip110)"
service_data["bitcoin_version"] = btc_ver # backwards compat
service_data["version"] = btc_ver
elif unit != "bitcoind.service":
@@ -2090,6 +2092,8 @@ async def api_service_detail(unit: str, icon: str | None = None):
if ver_info is not None:
subversion = ver_info.get("subversion", "")
btc_ver = _parse_bitcoin_subversion(subversion)
if icon == "bip110" and "(bip110)" not in btc_ver.lower():
btc_ver += " (bip110)"
service_detail["bitcoin_version"] = btc_ver # backwards compat
service_detail["version"] = btc_ver
elif unit != "bitcoind.service":

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 13 KiB