Skip to content

Commit

Permalink
qt: Initialize mnListCached (dashpay#4110)
Browse files Browse the repository at this point in the history
Fixes a crash on load
  • Loading branch information
UdjinM6 committed Apr 19, 2021
1 parent 9a17e9d commit 2a6ec33
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/qt/clientmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ ClientModel::ClientModel(interfaces::Node& node, OptionsModel *_optionsModel, QO
pollTimer = new QTimer(this);
connect(pollTimer, SIGNAL(timeout()), this, SLOT(updateTimer()));
pollTimer->start(MODEL_UPDATE_DELAY);
mnListCached = std::make_shared<CDeterministicMNList>();

subscribeToCoreSignals();
}
Expand Down

0 comments on commit 2a6ec33

Please sign in to comment.