From 46ce06d14239e3b07245b497edfb43c93af55f25 Mon Sep 17 00:00:00 2001 From: Kristaps Kaupe Date: Tue, 12 Mar 2019 00:44:36 +0200 Subject: [PATCH] Display GUI error to user when no password entered on wallet load --- scripts/joinmarket-qt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/joinmarket-qt.py b/scripts/joinmarket-qt.py index 3ac15f9..0f51c6e 100644 --- a/scripts/joinmarket-qt.py +++ b/scripts/joinmarket-qt.py @@ -1383,7 +1383,7 @@ class JMMainWindow(QMainWindow): self.loadWalletFromBlockchain(firstarg, pwd, restart_cb) def loadWalletFromBlockchain(self, firstarg=None, pwd=None, restart_cb=None): - if (firstarg and pwd) or (firstarg and get_network() == 'testnet'): + if firstarg: wallet_path = get_wallet_path(str(firstarg), None) try: self.wallet = open_test_wallet_maybe(wallet_path, str(firstarg),