mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Avoid an extraneous dispatch to the same context we're already in.
Get rid of stored proposals in a more sane way.
This commit is contained in:
@@ -1043,6 +1043,8 @@ void LedgerConsensus::accept(SHAMap::ref set, LoadEvent::pointer)
|
||||
boost::recursive_mutex::scoped_lock masterLock(theApp->getMasterLock());
|
||||
assert(set->getHash() == mOurPosition->getCurrentHash());
|
||||
|
||||
theApp->getOPs().peekStoredProposals().clear(); // these are now obsolete
|
||||
|
||||
uint32 closeTime = roundCloseTime(mOurPosition->getCloseTime());
|
||||
bool closeTimeCorrect = true;
|
||||
if (closeTime == 0)
|
||||
|
||||
Reference in New Issue
Block a user