|
spentIndex.push_back(std::make_pair(CSpentIndexKey(input.prevout.hash, input.prevout.n), CSpentIndexValue())); |
Hi
It seems this line is useless.The code is making a vector of spentIndex but does not call pblocktree->UpdateSpentIndex like it calls pblocktree->EraseAddressIndex for address index.
dash/src/validation.cpp
Line 1716 in 7d8eab2
Hi
It seems this line is useless.The code is making a vector of spentIndex but does not call pblocktree->UpdateSpentIndex like it calls pblocktree->EraseAddressIndex for address index.