From c480cabf23bdcdfc3a9ea7341d5d675f3e01b1fc Mon Sep 17 00:00:00 2001 From: Adam Gibson Date: Mon, 23 Jan 2017 12:17:33 +0700 Subject: [PATCH] repair get_bc_interface in -qt --- jmclient/jmclient/__init__.py | 6 +++--- scripts/joinmarket-qt.py | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/jmclient/jmclient/__init__.py b/jmclient/jmclient/__init__.py index e315221..37c0a19 100644 --- a/jmclient/jmclient/__init__.py +++ b/jmclient/jmclient/__init__.py @@ -19,9 +19,9 @@ from .taker import Taker from .wallet import (AbstractWallet, BitcoinCoreInterface, Wallet, BitcoinCoreWallet, estimate_tx_fee, WalletError, create_wallet_file) -from .configure import load_program_config, jm_single, get_p2pk_vbyte, \ - get_network, jm_single, get_network, validate_address, get_irc_mchannels, \ - check_utxo_blacklist +from .configure import (load_program_config, jm_single, get_p2pk_vbyte, + get_network, jm_single, get_network, validate_address, get_irc_mchannels, + check_utxo_blacklist, get_blockchain_interface_instance) from .blockchaininterface import (BlockrInterface, BlockchainInterface, sync_wallet, RegtestBitcoinCoreInterface, BitcoinCoreInterface) from .client_protocol import JMTakerClientProtocolFactory, start_reactor diff --git a/scripts/joinmarket-qt.py b/scripts/joinmarket-qt.py index 28ff557..cd772c9 100644 --- a/scripts/joinmarket-qt.py +++ b/scripts/joinmarket-qt.py @@ -49,7 +49,8 @@ from jmclient import (load_program_config, get_network, Wallet, get_log, weighted_order_choose, Taker, JMTakerClientProtocolFactory, WalletError, start_reactor, get_schedule, get_tumble_schedule, - schedule_to_text, mn_decode, mn_encode, create_wallet_file) + schedule_to_text, mn_decode, mn_encode, create_wallet_file, + get_blockchain_interface_instance) from qtsupport import (ScheduleWizard, warnings, config_tips, config_types, TaskThread, QtHandler, XStream, Buttons, CloseButton,