This commit is contained in:
JoelKatz
2012-07-06 01:17:55 -07:00
parent 5f8f14d43b
commit 09a7eb094b
2 changed files with 3 additions and 3 deletions

View File

@@ -65,6 +65,7 @@ private:
uint256 mHash, mParentHash, mTransHash, mAccountHash;
uint64 mTotCoins;
uint64 mCloseTime; // when this ledger should close / did close
uint64 mPrevClose; // when the previous ledger closed
uint32 mLedgerSeq;
bool mClosed, mValidHash, mAccepted, mImmutable;
@@ -82,8 +83,7 @@ protected:
static Ledger::pointer getSQL(const std::string& sqlStatement);
SLE::pointer getASNode(LedgerStateParms& parms, const uint256& nodeID,
LedgerEntryType let);
SLE::pointer getASNode(LedgerStateParms& parms, const uint256& nodeID, LedgerEntryType let);
public:
Ledger(const NewcoinAddress& masterID, uint64 startAmount); // used for the starting bootstrap ledger

View File

@@ -466,7 +466,7 @@ bool LedgerConsensus::updateOurPositions(int sinceClose)
}
if (it->second->getOurPosition()) // now a yes
{
ourPosition->addItem(SHAMapItem(it->first, it->second->peekTransaction()), true);
ourPosition->addItem(SHAMapItem(it->first, it->second->peekTransaction()), true, false);
addedTx.push_back(it->first);
}
else // now a no