mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-02-03 22:03:01 +01:00
tidy: modernize-use-emplace
This commit is contained in:
@@ -1021,7 +1021,7 @@ void CCoinsViewMemPool::PackageAddTransaction(const CTransactionRef& tx)
|
||||
{
|
||||
for (unsigned int n = 0; n < tx->vout.size(); ++n) {
|
||||
m_temp_added.emplace(COutPoint(tx->GetHash(), n), Coin(tx->vout[n], MEMPOOL_HEIGHT, false));
|
||||
m_non_base_coins.emplace(COutPoint(tx->GetHash(), n));
|
||||
m_non_base_coins.emplace(tx->GetHash(), n);
|
||||
}
|
||||
}
|
||||
void CCoinsViewMemPool::Reset()
|
||||
|
||||
Reference in New Issue
Block a user