Browse Source

Display GUI error to user when no password entered on wallet load

master
Kristaps Kaupe 7 years ago
parent
commit
46ce06d142
  1. 2
      scripts/joinmarket-qt.py

2
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),

Loading…
Cancel
Save