diff --git a/src/NetworkOPs.cpp b/src/NetworkOPs.cpp index af8b8ad5a0..100c9d4a1b 100644 --- a/src/NetworkOPs.cpp +++ b/src/NetworkOPs.cpp @@ -359,8 +359,11 @@ bool NetworkOPs::checkLastClosedLedger(const std::vector& peerLis // Do we have sufficient validations for our last closed ledger? Or do sufficient nodes // agree? And do we have no better ledger available? // If so, we are either tracking or full. - boost::unordered_map ledgers; + // FIXME: We may have a ledger with many recent validations but that no directly-connected + // node is using. THis is kind of fundamental. + + boost::unordered_map ledgers; for (std::vector::const_iterator it = peerList.begin(), end = peerList.end(); it != end; ++it) { if (!*it)