bool showIncorrectPassword = m_openWalletTriedOnce;
m_openWalletTriedOnce = true;
this->onWalletOpenPasswordRequired(showIncorrectPassword, wallet->keysPath());
+ return; // Do not remove this
}
else if (errMsg == QString("basic_string::_M_replace_aux") || errMsg == QString("std::bad_alloc") || errMsg == "invalid signature") {
qCritical() << errMsg;
this->handleDeviceError(errMsg, message);
this->handleWalletError(message);
}
+
+ m_openingWallet = false;
return;
}