mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Work to fix the transaction source sequence buglet.
This commit is contained in:
@@ -271,7 +271,9 @@ Ledger::pointer Ledger::closeLedger(uint64 timeStamp)
|
||||
|
||||
void LocalAccount::syncLedger(const uint160& acctID)
|
||||
{
|
||||
setLedgerBalance(theApp->getMasterLedger().getBalance(acctID));
|
||||
AccountState::pointer as=theApp->getMasterLedger().getAccountState(acctID);
|
||||
if(!as) setLedgerBalance(0);
|
||||
else syncLedger(as->getBalance(), as->getSeq());
|
||||
}
|
||||
|
||||
bool Ledger::unitTest()
|
||||
|
||||
Reference in New Issue
Block a user