From 45b7a6cdefc0d3c353d1bba7d3ff5334084662dc Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Mon, 19 Aug 2013 01:56:09 -0700 Subject: [PATCH] Don't touch a possibly-failed inbound ledger. --- modules/ripple_app/ledger/ripple_InboundLedgers.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/modules/ripple_app/ledger/ripple_InboundLedgers.cpp b/modules/ripple_app/ledger/ripple_InboundLedgers.cpp index f57fe4036..fc67d2946 100644 --- a/modules/ripple_app/ledger/ripple_InboundLedgers.cpp +++ b/modules/ripple_app/ledger/ripple_InboundLedgers.cpp @@ -18,7 +18,6 @@ InboundLedger::pointer InboundLedgers::findCreate (uint256 const& hash, uint32 s if (it != mLedgers.end ()) { ret = it->second; - ret->touch (); // FIXME: Should set the sequence if it's not set } else @@ -60,7 +59,6 @@ InboundLedger::pointer InboundLedgers::find (uint256 const& hash) boost::unordered_map::iterator it = mLedgers.find (hash); if (it != mLedgers.end ()) { - it->second->touch (); ret = it->second; } }