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,
|
TRACE5(utxocache, add,
|
||||||
outpoint.hash.data(),
|
outpoint.hash.data(),
|
||||||
(uint32_t)outpoint.n,
|
(uint32_t)outpoint.n,
|
||||||
(uint32_t)coin.nHeight,
|
(uint32_t)it->second.coin.nHeight,
|
||||||
(int64_t)coin.out.nValue,
|
(int64_t)it->second.coin.out.nValue,
|
||||||
(bool)coin.IsCoinBase());
|
(bool)it->second.coin.IsCoinBase());
|
||||||
}
|
}
|
||||||
|
|
||||||
void CCoinsViewCache::EmplaceCoinInternalDANGER(COutPoint&& outpoint, Coin&& coin) {
|
void CCoinsViewCache::EmplaceCoinInternalDANGER(COutPoint&& outpoint, Coin&& coin) {
|
||||||
|
|||||||
Reference in new issue
Block a user