mirror of
https://github.com/cygnusxi/CurecoinSource.git
synced 2025-07-30 00:55:33 +02:00
Status bar staking unlock warning behavior modification.
This commit is contained in:
parent
b9147b43cd
commit
0cbf2a14d3
@ -2876,7 +2876,7 @@ bool LoadExternalBlockFile(FILE* fileIn)
|
|||||||
extern map<uint256, CAlert> mapAlerts;
|
extern map<uint256, CAlert> mapAlerts;
|
||||||
extern CCriticalSection cs_mapAlerts;
|
extern CCriticalSection cs_mapAlerts;
|
||||||
|
|
||||||
static string strMintMessage = "Info: Staking suspended due to locked wallet. Click 'Settings' then 'Unlock Wallet' to stake.";
|
static string strMintMessage = "Click 'Settings' then 'Unlock Wallet' to stake.";
|
||||||
static string strMintWarning;
|
static string strMintWarning;
|
||||||
|
|
||||||
string GetWarnings(string strFor)
|
string GetWarnings(string strFor)
|
||||||
@ -4488,7 +4488,7 @@ void curecoinMiner(CWallet *pwallet, bool fProofOfStake)
|
|||||||
|
|
||||||
while (pwallet->IsLocked())
|
while (pwallet->IsLocked())
|
||||||
{
|
{
|
||||||
strMintWarning = strMintMessage;
|
//strMintWarning = strMintMessage;
|
||||||
Sleep(1000);
|
Sleep(1000);
|
||||||
}
|
}
|
||||||
strMintWarning = "";
|
strMintWarning = "";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user