X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=blobdiff_plain;f=src%2Fminer.cpp;fp=src%2Fminer.cpp;h=0d63e3c89b4570137d2eaca4647f7d12c633c03e;hp=02b38bf161352e47919f849a503be5ecf51a0e48;hb=1c26d120211614445f3e3d4f391c2e873da282bb;hpb=a348ee6f5081803ad1ae860c29075b08d772dd08 diff --git a/src/miner.cpp b/src/miner.cpp index 02b38bf..0d63e3c 100644 --- a/src/miner.cpp +++ b/src/miner.cpp @@ -710,7 +710,7 @@ void StakeMiner(CWallet *pwallet) CTransaction txCoinStake; // Create new coinstake transaction - if (!pwallet->CreateCoinStake(LuckyInput.first, LuckyInput.second, solution.second, pindexPrev->nBits, txCoinStake, key)) + if (!pwallet->CreateCoinStake(LuckyInput.first, LuckyInput.second, solution.second, nBits, txCoinStake, key)) { string strMessage = _("Warning: Unable to create coinstake transaction, see debug.log for the details. Mining thread has been stopped."); strMiscWarning = strMessage;