mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-29 07:25:51 +00:00
Cleanups.
This commit is contained in:
@@ -480,6 +480,8 @@ void LedgerMaster::checkAccept (uint256 const& hash)
|
||||
|
||||
if (ledger)
|
||||
checkAccept (hash, ledger->getLedgerSeq ());
|
||||
else
|
||||
getApp().getInboundLedgers().findCreate(hash, 0);
|
||||
}
|
||||
|
||||
void LedgerMaster::checkAccept (uint256 const& hash, uint32 seq)
|
||||
|
||||
@@ -11,7 +11,7 @@ InboundLedger::pointer InboundLedgers::findCreate (uint256 const& hash, uint32 s
|
||||
InboundLedger::pointer& ptr = mLedgers[hash];
|
||||
|
||||
if (ptr)
|
||||
{
|
||||
{ // FIXME: Should set the sequence if it's not set
|
||||
ptr->touch ();
|
||||
return ptr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user