Skip to content

Commit 50088b8

Browse files
committed
[Qt] Fix warning dialog popup for the Blockchain Explorer
We have `txindex` enabled by default, but the check here was expecting it to be disabled by default so the warning dialog was being displayed informing users that they would need to enable a setting that was already enabled.
1 parent ad3edb9 commit 50088b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/qt/blockexplorer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ void BlockExplorer::showEvent(QShowEvent*)
472472
m_History.push_back(text);
473473
updateNavButtons();
474474

475-
if (!GetBoolArg("-txindex", false)) {
475+
if (!GetBoolArg("-txindex", true)) {
476476
QString Warning = tr("Not all transactions will be shown. To view all transactions you need to set txindex=1 in the configuration file (pivx.conf).");
477477
QMessageBox::warning(this, "PIVX Core Blockchain Explorer", Warning, QMessageBox::Ok);
478478
}

0 commit comments

Comments
 (0)