diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp index 754b41eb16..6a09b79902 100644 --- a/src/qt/bitcoingui.cpp +++ b/src/qt/bitcoingui.cpp @@ -187,7 +187,7 @@ BitcoinGUI::BitcoinGUI(interfaces::Node& node, const PlatformStyle *_platformSty frameBlocksLayout->addStretch(); #ifdef ENABLE_WALLET - if (gArgs.GetBoolArg("-staking", node::DEFAULT_STAKE)) + if (node::CanStake()) { QTimer *timerStakingIcon = new QTimer(labelStakingIcon); connect(timerStakingIcon, SIGNAL(timeout()), this, SLOT(updateStakingIcon()));