always display restore dates next to restore heights

This commit is contained in:
tobtoht
2025-03-04 14:54:04 +01:00
parent 8f3205d632
commit e55afe9429
6 changed files with 15 additions and 5 deletions
+1 -2
View File
@@ -53,8 +53,7 @@ void DebugInfoDialog::updateInfo() {
ui->label_walletHeight->setText(QString::number(m_wallet->blockChainHeight()));
ui->label_daemonHeight->setText(QString::number(m_wallet->daemonBlockChainHeight()));
ui->label_targetHeight->setText(QString::number(m_wallet->daemonBlockChainTargetHeight()));
QDateTime restoreDate = appData()->restoreHeights[constants::networkType]->heightToDate(m_wallet->getWalletCreationHeight());
ui->label_restoreHeight->setText(QString("%1 (%2)").arg(QString::number(m_wallet->getWalletCreationHeight()), restoreDate.toString("yyyy-MM-dd")));
ui->label_restoreHeight->setText(Utils::formatRestoreHeight(m_wallet->getWalletCreationHeight()));
ui->label_synchronized->setText(m_wallet->isSynchronized() ? "True" : "False");
auto node = m_nodes->connection();