diff --git a/modules/ripple_app/ledger/LedgerMaster.cpp b/modules/ripple_app/ledger/LedgerMaster.cpp index 07ee872a7..7e8790c3c 100644 --- a/modules/ripple_app/ledger/LedgerMaster.cpp +++ b/modules/ripple_app/ledger/LedgerMaster.cpp @@ -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) diff --git a/modules/ripple_app/ledger/ripple_InboundLedgers.cpp b/modules/ripple_app/ledger/ripple_InboundLedgers.cpp index 43c87f329..d3e8bc3e6 100644 --- a/modules/ripple_app/ledger/ripple_InboundLedgers.cpp +++ b/modules/ripple_app/ledger/ripple_InboundLedgers.cpp @@ -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; }