// ppcoin: optional setting to create coinstake only when unlocked;
// serves to disable the trivial sendmoney when OS account compromised
-bool fWalletUnlockStakeOnly = false;
+bool fWalletUnlockMintOnly = false;
bool CWallet::Unlock(const SecureString& strWalletPassphrase)
{
printf("SendMoney() : %s", strError.c_str());
return strError;
}
- if (fWalletUnlockStakeOnly)
+ if (fWalletUnlockMintOnly)
{
- string strError = _("Error: Wallet unlocked for coinstake only, unable to create transaction.");
+ string strError = _("Error: Wallet unlocked for block minting only, unable to create transaction.");
printf("SendMoney() : %s", strError.c_str());
return strError;
}