mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
InboundLedgers improvements:
* Change findCreate to acquire * Return Ledger rather than InboundLedger
This commit is contained in:
@@ -1274,7 +1274,7 @@ void Ledger::visitStateItems (std::function<void (SLE::ref)> function) const
|
||||
{
|
||||
if (mHash.isNonZero ())
|
||||
{
|
||||
getApp().getInboundLedgers().findCreate(
|
||||
getApp().getInboundLedgers().acquire(
|
||||
mHash, mLedgerSeq, InboundLedger::fcGENERIC);
|
||||
}
|
||||
throw;
|
||||
|
||||
Reference in New Issue
Block a user