tracing: do not use coin after move in CCoinsViewCache::AddCoin
This commit is contained in:
1 parent
d1e42659bb
commit
f8e228476f
1 file changed
+3
-3
+3
-3
@@ -99,9 +99,9 @@ void CCoinsViewCache::AddCoin(const COutPoint &outpoint, Coin&& coin, bool possi
|
||||
TRACE5(utxocache, add,
|
||||
outpoint.hash.data(),
|
||||
(uint32_t)outpoint.n,
|
||||
(uint32_t)coin.nHeight,
|
||||
(int64_t)coin.out.nValue,
|
||||
(bool)coin.IsCoinBase());
|
||||
(uint32_t)it->second.coin.nHeight,
|
||||
(int64_t)it->second.coin.out.nValue,
|
||||
(bool)it->second.coin.IsCoinBase());
|
||||
}
|
||||
|
||||
void CCoinsViewCache::EmplaceCoinInternalDANGER(COutPoint&& outpoint, Coin&& coin) {
|
||||
|
||||
Reference in new issue
Block a user