

def __init__(self):
    parser = argparse.ArgumentParser()
    parser.add_argument('--wallet', dest='wallet_path')
    parser.add_argument('--testnet', action='store_true')
    parsed_args = vars(parser.parse_args())
    self.wallet = PersistentWallet(parsed_args.get('wallet_path'), parsed_args.get('testnet'))
    self.wallet.init_model()
    self.model = self.wallet.get_model()
    self.controller = WalletController(self.wallet.get_model())
    self.async_utxo_fetcher = AsyncUTXOFetcher(self.model, self.wallet.wallet_config.get('utxo_fetcher', {
        
    }))
    self.update_connected_thread = TimedAsyncTask(self.update_connected, 2.5)
    self.update_connected_thread.start()
    self.update_connected()

dataset/ETHPy150Open chromaway/ngcccbase/ui/wallet.py Wallet.__init__/original