diff --git a/src/main.cpp b/src/main.cpp index cf854719e..ab49d70e7 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2251,6 +2251,10 @@ bool ConnectBlock(const CBlock& block, CValidationState& state, CBlockIndex* pin vPos.reserve(block.vtx.size()); blockundo.vtxundo.reserve(block.vtx.size() - 1); + std::vector > addressIndex; + std::vector > addressUnspentIndex; + std::vector > spentIndex; + // Construct the incremental merkle tree at the current // block position, auto old_tree_root = view.GetBestAnchor();