mirror of
https://github.com/basicswap/basicswap.git
synced 2024-12-22 11:39:34 +00:00
This commit is contained in:
parent
bd571702cb
commit
20c15aae9f
1 changed files with 2 additions and 2 deletions
|
@ -10363,11 +10363,11 @@ class BasicSwap(BaseApp):
|
||||||
|
|
||||||
# Ensure the latest addresses are displayed
|
# Ensure the latest addresses are displayed
|
||||||
coin_name: str = chainparams[coin_id]["name"]
|
coin_name: str = chainparams[coin_id]["name"]
|
||||||
q = cursor.execute(
|
qi = cursor.execute(
|
||||||
"SELECT key, value FROM kv_string WHERE key = ? OR key = ?",
|
"SELECT key, value FROM kv_string WHERE key = ? OR key = ?",
|
||||||
(f"receive_addr_{coin_name}", f"stealth_addr_{coin_name}"),
|
(f"receive_addr_{coin_name}", f"stealth_addr_{coin_name}"),
|
||||||
)
|
)
|
||||||
for row in q:
|
for row in qi:
|
||||||
if row[0].startswith("stealth"):
|
if row[0].startswith("stealth"):
|
||||||
if coin_id == Coins.LTC:
|
if coin_id == Coins.LTC:
|
||||||
wallet_data["mweb_address"] = row[1]
|
wallet_data["mweb_address"] = row[1]
|
||||||
|
|
Loading…
Reference in a new issue