Segwit: Rename CTransaction::GetWitnessHash() -> CTransaction::GetHashWithWitness()

This commit is contained in:
Mark Friedenbach 2017-03-11 14:20:27 -08:00 committed by Gregory Sanders
parent 6053519cea
commit b7704f1717
8 changed files with 9 additions and 9 deletions

View file

@ -445,7 +445,7 @@ bool CTxMemPool::addUnchecked(const uint256& hash, const CTxMemPoolEntry &entry,
totalTxSize += entry.GetTxSize();
minerPolicyEstimator->processTransaction(entry, validFeeEstimate);
vTxHashes.emplace_back(tx.GetWitnessHash(), newit);
vTxHashes.emplace_back(tx.GetHashWithWitness(), newit);
newit->vTxHashesIdx = vTxHashes.size() - 1;
typedef std::pair<uint256, COutPoint> WithdrawPair;