Store pubkeys in BSX if possible.

This commit is contained in:
tecnovert
2025-07-31 00:36:16 +02:00
parent f932a41b1a
commit 4ba2b877dd
2 changed files with 12 additions and 4 deletions

View File

@@ -1151,7 +1151,7 @@ class BasicSwap(BaseApp, BSXNetwork, UIApp):
# Scan inbox
# TODO: Redundant? small window for zmq messages to go unnoticed during startup?
options = {"encoding": "hex"}
if self._smsg_plaintext_version >= 2:
if self._can_use_smsg_plaintext2:
options["pubkey_from"] = True
ro = self.callrpc("smsginbox", ["unread", "", options])
nm = 0