mirror of
https://github.com/basicswap/basicswap.git
synced 2026-04-29 11:12:12 +02:00
Fixing commented issue.
This commit is contained in:
@@ -1659,7 +1659,6 @@ class BasicSwap(BaseApp, BSXNetwork, UIApp):
|
|||||||
for c in check_coins:
|
for c in check_coins:
|
||||||
ci = self.ci(c)
|
ci = self.ci(c)
|
||||||
if self._restrict_unknown_seed_wallets and not ci.knownWalletSeed():
|
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():
|
if not ci.knownWalletSeed():
|
||||||
raise ValueError(
|
raise ValueError(
|
||||||
@@ -13907,11 +13906,7 @@ class BasicSwap(BaseApp, BSXNetwork, UIApp):
|
|||||||
"unconfirmed": ci.format_amount(
|
"unconfirmed": ci.format_amount(
|
||||||
walletinfo["unconfirmed_balance"], conv_int=True
|
walletinfo["unconfirmed_balance"], conv_int=True
|
||||||
),
|
),
|
||||||
"expected_seed": (
|
"expected_seed": ci.knownWalletSeed(),
|
||||||
ci.knownWalletSeed()
|
|
||||||
if ci._have_checked_seed
|
|
||||||
else self.checkWalletSeed(coin)
|
|
||||||
),
|
|
||||||
"encrypted": walletinfo["encrypted"],
|
"encrypted": walletinfo["encrypted"],
|
||||||
"locked": walletinfo["locked"],
|
"locked": walletinfo["locked"],
|
||||||
"connection_type": self.coin_clients[coin].get(
|
"connection_type": self.coin_clients[coin].get(
|
||||||
|
|||||||
@@ -257,7 +257,6 @@ class XMRInterface(CoinInterface):
|
|||||||
)
|
)
|
||||||
raise
|
raise
|
||||||
os.rename(walletpath, bkp_path)
|
os.rename(walletpath, bkp_path)
|
||||||
self._have_checked_seed = False
|
|
||||||
# Drop through to open_wallet
|
# Drop through to open_wallet
|
||||||
else:
|
else:
|
||||||
raise
|
raise
|
||||||
|
|||||||
Reference in New Issue
Block a user