From 20c15aae9f9e2e666aa214908209d100a2aab06f Mon Sep 17 00:00:00 2001 From: tecnovert Date: Fri, 22 Nov 2024 20:46:50 +0200 Subject: [PATCH] Fix missing wallets page entries. --- basicswap/basicswap.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/basicswap/basicswap.py b/basicswap/basicswap.py index 35174bf..84b295b 100644 --- a/basicswap/basicswap.py +++ b/basicswap/basicswap.py @@ -10363,11 +10363,11 @@ class BasicSwap(BaseApp): # Ensure the latest addresses are displayed coin_name: str = chainparams[coin_id]["name"] - q = cursor.execute( + qi = cursor.execute( "SELECT key, value FROM kv_string WHERE key = ? OR key = ?", (f"receive_addr_{coin_name}", f"stealth_addr_{coin_name}"), ) - for row in q: + for row in qi: if row[0].startswith("stealth"): if coin_id == Coins.LTC: wallet_data["mweb_address"] = row[1]