Use fEnablePrivateSend instead of fPrivateSendRunning

Required due missing refactorings.
This commit is contained in:
Alexander Block 2019-08-07 16:07:22 +02:00
parent a198a04e04
commit a8fb8252e9

View File

@ -960,7 +960,7 @@ void BitcoinGUI::setNumBlocks(int count, const QDateTime& blockDate, double nVer
// Disabling macOS App Nap on initial sync, disk, reindex operations and mixing.
bool disableAppNap = !masternodeSync.IsSynced();
#ifdef ENABLE_WALLET
disableAppNap |= privateSendClient.fPrivateSendRunning;
disableAppNap |= privateSendClient.fEnablePrivateSend;
#endif // ENABLE_WALLET
if (disableAppNap) {
m_app_nap_inhibitor->disableAppNap();