Browse Source

Merge #333: JoinMarket-Qt: Display GUI error to user when no password entered on wallet load

46ce06d Display GUI error to user when no password entered on wallet load (Kristaps Kaupe)
master
AdamISZ 7 years ago
parent
commit
3c12937a0c
No known key found for this signature in database
GPG Key ID: 141001A1AF77F20B
  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