From 0149c3948ba4061768d9b79aec40da8d33ee0fdd Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Mon, 3 Sep 2012 08:50:28 -0700 Subject: [PATCH] Ack! Test for stale proposals was backwards. --- src/LedgerProposal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LedgerProposal.h b/src/LedgerProposal.h index a3d7faecde..c9c6fa8dd9 100644 --- a/src/LedgerProposal.h +++ b/src/LedgerProposal.h @@ -60,7 +60,7 @@ public: bool isPrevLedger(const uint256& pl) { return mPreviousLedger == pl; } const boost::posix_time::ptime getCreateTime() { return mTime; } - bool isStale(boost::posix_time::ptime cutoff) { return mTime > cutoff; } + bool isStale(boost::posix_time::ptime cutoff) { return mTime <= cutoff; } void changePosition(const uint256& newPosition, uint32 newCloseTime); Json::Value getJson() const;