Skip to content

Commit

Permalink
[Qt] Fix warning dialog popup for the Blockchain Explorer
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Fuzzbawls committed Feb 9, 2018
1 parent ad3edb9 commit 50088b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qt/blockexplorer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ void BlockExplorer::showEvent(QShowEvent*)
m_History.push_back(text);
updateNavButtons();

if (!GetBoolArg("-txindex", false)) {
if (!GetBoolArg("-txindex", true)) {
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).");
QMessageBox::warning(this, "PIVX Core Blockchain Explorer", Warning, QMessageBox::Ok);
}
Expand Down

0 comments on commit 50088b8

Please sign in to comment.