From fe0de8405419fcc57101bf396806c287bc62c26a Mon Sep 17 00:00:00 2001 From: gerlofvanek Date: Mon, 27 Apr 2026 18:32:44 +0200 Subject: [PATCH] Fixing commented issue. --- basicswap/basicswap.py | 9 ++------- basicswap/interface/xmr.py | 1 - 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/basicswap/basicswap.py b/basicswap/basicswap.py index f828a2e..ff5aee6 100644 --- a/basicswap/basicswap.py +++ b/basicswap/basicswap.py @@ -1659,8 +1659,7 @@ class BasicSwap(BaseApp, BSXNetwork, UIApp): for c in check_coins: ci = self.ci(c) if self._restrict_unknown_seed_wallets and not ci.knownWalletSeed(): - if not ci._have_checked_seed: - self.checkWalletSeed(c) + self.checkWalletSeed(c) if not ci.knownWalletSeed(): raise ValueError( '{} has an unexpected wallet seed and "restrict_unknown_seed_wallets" is enabled.'.format( @@ -13907,11 +13906,7 @@ class BasicSwap(BaseApp, BSXNetwork, UIApp): "unconfirmed": ci.format_amount( walletinfo["unconfirmed_balance"], conv_int=True ), - "expected_seed": ( - ci.knownWalletSeed() - if ci._have_checked_seed - else self.checkWalletSeed(coin) - ), + "expected_seed": ci.knownWalletSeed(), "encrypted": walletinfo["encrypted"], "locked": walletinfo["locked"], "connection_type": self.coin_clients[coin].get( diff --git a/basicswap/interface/xmr.py b/basicswap/interface/xmr.py index 7517777..1b34be2 100644 --- a/basicswap/interface/xmr.py +++ b/basicswap/interface/xmr.py @@ -257,7 +257,6 @@ class XMRInterface(CoinInterface): ) raise os.rename(walletpath, bkp_path) - self._have_checked_seed = False # Drop through to open_wallet else: raise