Rename to PrecomputedTransactionData
This commit is contained in:
committed by
Jack Grigg
parent
90285e7b81
commit
6514771a44
@@ -293,8 +293,8 @@ CBlockTemplate* CreateNewBlock(const CScript& scriptPubKeyIn)
|
||||
// policy here, but we still have to ensure that the block we
|
||||
// create only contains transactions that are valid in new blocks.
|
||||
CValidationState state;
|
||||
CachedHashes cachedHashes(tx);
|
||||
if (!ContextualCheckInputs(tx, state, view, true, MANDATORY_SCRIPT_VERIFY_FLAGS, true, cachedHashes, Params().GetConsensus()))
|
||||
PrecomputedTransactionData txdata(tx);
|
||||
if (!ContextualCheckInputs(tx, state, view, true, MANDATORY_SCRIPT_VERIFY_FLAGS, true, txdata, Params().GetConsensus()))
|
||||
continue;
|
||||
|
||||
UpdateCoins(tx, view, nHeight);
|
||||
|
||||
Reference in New Issue
Block a user