diff options
| author | jtimon <[email protected]> | 2014-10-27 16:07:50 +0100 |
|---|---|---|
| committer | jtimon <[email protected]> | 2014-12-27 16:01:12 +0100 |
| commit | d7621ccf9d064db19de742ed1a0ac59fffa06c0d (patch) | |
| tree | 99bd104ad829f2a03efa7119c472e03ab2eea479 /src/miner.cpp | |
| parent | Decouple CCoins from CTxInUndo (diff) | |
| download | discoin-d7621ccf9d064db19de742ed1a0ac59fffa06c0d.tar.xz discoin-d7621ccf9d064db19de742ed1a0ac59fffa06c0d.zip | |
Decouple miner.o and txmempool.o from CTxUndo
Diffstat (limited to 'src/miner.cpp')
| -rw-r--r-- | src/miner.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/miner.cpp b/src/miner.cpp index 2133b13e6..0ac974d6e 100644 --- a/src/miner.cpp +++ b/src/miner.cpp @@ -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); |