diff --git a/src/NetworkOPs.cpp b/src/NetworkOPs.cpp index f92a016f95..0aac602b2d 100644 --- a/src/NetworkOPs.cpp +++ b/src/NetworkOPs.cpp @@ -372,8 +372,11 @@ bool NetworkOPs::checkLastClosedLedger(const std::vector& peerLis Ledger::pointer currentClosed = mLedgerMaster->getClosedLedger(); uint256 closedLedger = currentClosed->getHash(); ValidationCount& ourVC = ledgers[closedLedger]; - ++ourVC.nodesUsing; - ourVC.highNode = theApp->getWallet().getNodePublic(); + if (mHaveLCL) + { + ++ourVC.nodesUsing; + ourVC.highNode = theApp->getWallet().getNodePublic(); + } for (std::vector::const_iterator it = peerList.begin(), end = peerList.end(); it != end; ++it) {