Browse Source

show hexseed for regtest only

master
Adam Gibson 8 years ago
parent
commit
583c05d346
No known key found for this signature in database
GPG Key ID: B3AE09F1E9A3197A
  1. 2
      scripts/joinmarket-qt.py

2
scripts/joinmarket-qt.py

@ -1158,7 +1158,7 @@ class JMWalletTab(QWidget):
if walletinfo:
self.mainwindow = self.parent().parent().parent()
rows, mbalances, xpubs, total_bal = walletinfo
if get_network() == 'testnet':
if jm_single().config.get("BLOCKCHAIN", "blockchain_source") == "regtest":
self.wallet_name = self.mainwindow.wallet.seed
else:
self.wallet_name = os.path.basename(self.mainwindow.wallet.path)

Loading…
Cancel
Save