mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-22 12:05:53 +00:00
Fixes.
This commit is contained in:
@@ -512,7 +512,10 @@ void LedgerMaster::checkAccept (uint256 const& hash, uint32 seq)
|
||||
ledger->setValidated();
|
||||
mValidLedger = ledger;
|
||||
if (!mPubLedger)
|
||||
{
|
||||
ledger->pendSaveValidated(true, true);
|
||||
mPubLedger = ledger;
|
||||
}
|
||||
|
||||
uint64 fee, fee2, ref;
|
||||
ref = getApp().getFeeTrack().getLoadBase();
|
||||
|
||||
@@ -30,7 +30,7 @@ void LedgerHistory::addLedger (Ledger::pointer ledger)
|
||||
|
||||
mLedgersByHash.canonicalize (ledger->getHash(), ledger, true);
|
||||
if (ledger->isValidated())
|
||||
mLedgersByIndex[ledger->getLedgerSeq()] = h;
|
||||
mLedgersByIndex[ledger->getLedgerSeq()] = ledger->getHash();
|
||||
}
|
||||
|
||||
uint256 LedgerHistory::getLedgerHash (uint32 index)
|
||||
|
||||
Reference in New Issue
Block a user