mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 12:02:48 +01:00
Use fEnablePrivateSend instead of fPrivateSendRunning
Required due missing refactorings.
This commit is contained in:
parent
a198a04e04
commit
a8fb8252e9
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user