This commit is contained in:
Aditya Kulkarni
2019-10-15 20:55:43 -07:00
parent 12f126bd28
commit 28fdac1b72
5 changed files with 18 additions and 65 deletions

View File

@@ -43,6 +43,7 @@ void ConnectionLoader::doAutoConnect(bool tryEzcashdStart) {
// Initialize the library
main->logger->write(QObject::tr("Attempting to initialize"));
litelib_initialze(config->dangerous, config->server.toStdString().c_str());
auto connection = makeConnection(config);
// After the lib is initialized, try to do get info
@@ -87,7 +88,6 @@ void ConnectionLoader::showInformation(QString info, QString detail) {
* Show error will close the loading dialog and show an error.
*/
void ConnectionLoader::showError(QString explanation) {
rpc->setEZcashd(nullptr);
rpc->noConnection();
QMessageBox::critical(main, QObject::tr("Connection Error"), explanation, QMessageBox::Ok);