Decouple miner.o and txmempool.o from CTxUndo

This commit is contained in:
jtimon
2014-10-27 16:07:50 +01:00
committed by jtimon
parent c444c620c6
commit d7621ccf9d
4 changed files with 11 additions and 7 deletions

View File

@@ -279,8 +279,7 @@ CBlockTemplate* CreateNewBlock(const CScript& scriptPubKeyIn)
if (!CheckInputs(tx, state, view, true, MANDATORY_SCRIPT_VERIFY_FLAGS, true))
continue;
CTxUndo txundo;
UpdateCoins(tx, state, view, txundo, nHeight);
UpdateCoins(tx, state, view, nHeight);
// Added
pblock->vtx.push_back(tx);