diff --git a/src/main.cpp b/src/main.cpp index 03b6946ed..c9fc79044 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -4606,7 +4606,7 @@ void static LitecoinMiner(CWallet *pwallet) { // Found a solution SetThreadPriority(THREAD_PRIORITY_NORMAL); - CheckWork(pblock, *pwalletMain, reservekey); + CheckWork(pblock, *pwallet, reservekey); SetThreadPriority(THREAD_PRIORITY_LOWEST); break; } diff --git a/src/main.h b/src/main.h index 9d731d869..4b7f987e1 100644 --- a/src/main.h +++ b/src/main.h @@ -621,6 +621,9 @@ public: return dPriority > COIN * 576 / 250; } +// Apply the effects of this transaction on the UTXO set represented by view +void UpdateCoins(const CTransaction& tx, CValidationState &state, CCoinsViewCache &inputs, CTxUndo &txundo, int nHeight, const uint256 &txhash); + int64 GetMinFee(unsigned int nBlockSize=1, bool fAllowFree=true, enum GetMinFee_mode mode=GMF_BLOCK) const; friend bool operator==(const CTransaction& a, const CTransaction& b)