Ack! Test for stale proposals was backwards.

This commit is contained in:
JoelKatz
2012-09-03 08:50:28 -07:00
parent 46f6110cdd
commit 0149c3948b

View File

@@ -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;