From 4f7050609427107e81bee0a1223041b80aaa0d1e Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Tue, 23 Apr 2013 06:49:58 -0700 Subject: [PATCH] Include more information in fetch packs. --- src/cpp/ripple/NetworkOPs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpp/ripple/NetworkOPs.cpp b/src/cpp/ripple/NetworkOPs.cpp index 94fdc47367..cb786366ae 100644 --- a/src/cpp/ripple/NetworkOPs.cpp +++ b/src/cpp/ripple/NetworkOPs.cpp @@ -2031,7 +2031,7 @@ void NetworkOPs::makeFetchPack(Job&, boost::weak_ptr wPeer, boost::shared_ newObj.set_ledgerseq(lSeq); std::list pack = wantLedger->peekAccountStateMap()->getFetchPack( - haveLedger->peekAccountStateMap().get(), false, 1024 - reply.objects().size()); + haveLedger->peekAccountStateMap().get(), true, 1024); BOOST_FOREACH(SHAMap::fetchPackEntry_t& node, pack) { ripple::TMIndexedObject& newObj = *reply.add_objects();