|
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.