From 2de1b9eef83017d27860331bcab1a396e58102e3 Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Tue, 8 Jan 2013 16:23:58 -0800 Subject: [PATCH] Don't issue bogus 'missing skiplist' messages. --- src/cpp/ripple/Ledger.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpp/ripple/Ledger.cpp b/src/cpp/ripple/Ledger.cpp index f0dcae7841..496d01b5c7 100644 --- a/src/cpp/ripple/Ledger.cpp +++ b/src/cpp/ripple/Ledger.cpp @@ -978,7 +978,7 @@ uint256 Ledger::getLedgerHash(uint32 ledgerIndex) if (vec.size() >= diff) return vec.at(vec.size() - diff); } - cLog(lsWARNING) << "Ledger " << ledgerIndex << ":" << getHash() << " missing skiplist"; + else cLog(lsWARNING) << "Ledger " << ledgerIndex << ":" << getHash() << " missing skiplist"; } if ((ledgerIndex & 0xff) != 0)