More bugfixes.

This commit is contained in:
JoelKatz
2011-12-15 12:53:56 -08:00
parent c7f890ab47
commit 56484476a9
3 changed files with 7 additions and 0 deletions

View File

@@ -28,7 +28,11 @@ bool LedgerMaster::addHeldTransaction(Transaction::pointer transaction)
{
boost::recursive_mutex::scoped_lock ml(mLock);
if(!mHeldTransactionsByID[transaction->getID()])
{
mHeldTransactionsByID[transaction->getID()]=transaction;
return true;
}
return false;
}
void LedgerMaster::pushLedger(Ledger::pointer newLedger)