1
0

interface: extend client to be able to support a range of protocols

This commit is contained in:
SomberNight
2025-10-23 17:02:41 +00:00
parent b1fc5b2461
commit cd3173a289
4 changed files with 27 additions and 8 deletions

View File

@@ -546,7 +546,7 @@ class ElectrumQmlApplication(QGuiApplication):
self.context.setContextProperty('QRIP', self.qr_ip_h)
self.context.setContextProperty('BUILD', {
'electrum_version': version.ELECTRUM_VERSION,
'protocol_version': version.PROTOCOL_VERSION,
'protocol_version': f"[{version.PROTOCOL_VERSION_MIN}, {version.PROTOCOL_VERSION_MAX}]",
'qt_version': QT_VERSION_STR,
'pyqt_version': PYQT_VERSION_STR
})