Fix issues in applying local transactions.

This commit is contained in:
JoelKatz
2012-01-18 14:14:23 -08:00
parent ff2cc0aee4
commit a5da80d36d
3 changed files with 9 additions and 4 deletions

View File

@@ -277,8 +277,8 @@ void LocalAccount::syncLedger()
else
{
mLgrBalance=as->getBalance();
if( (mLgrBalance!=0) && (mAccountSeq==0) ) mAccountSeq=1;
if(mAccountSeq<as->getSeq()) mAccountSeq=as->getSeq();
if( (mLgrBalance!=0) && (mTxnSeq==0) ) mTxnSeq=1;
if(mTxnSeq<as->getSeq()) mTxnSeq=as->getSeq();
}
}