Skip to content

Commit

Permalink
set MintOnly to false if user locks
Browse files Browse the repository at this point in the history
  • Loading branch information
Tranz5 committed Oct 20, 2014
1 parent a5e9f3f commit 0b67b4d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/qt/walletmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,7 @@ bool WalletModel::setWalletLocked(bool locked, const SecureString &passPhrase, b
{
// Lock as Requested by user
rc = wallet->Lock();
wallet->fWalletUnlockMintOnly=false;
fStopStaking=true;
MilliSleep(1000);
pWalletManager->RestartStakeMiner();
Expand Down

0 comments on commit 0b67b4d

Please sign in to comment.