mirror of
https://github.com/Xahau/xahaud.git
synced 2026-04-29 15:37:46 +00:00
reintroduce closeflags hack, close to working now
This commit is contained in:
@@ -1476,11 +1476,16 @@ doCatalogueLoad(RPC::JsonContext& context)
|
||||
|
||||
// Set the ledger as validated
|
||||
ledger->setValidated();
|
||||
|
||||
auto cf = ledger->info().closeFlags;
|
||||
ledger->setAccepted(
|
||||
infoIt->second.closeTime,
|
||||
infoIt->second.closeTimeResolution,
|
||||
infoIt->second.closeFlags & sLCF_NoConsensusTime);
|
||||
|
||||
// hacky
|
||||
ledger->setCloseFlags(cf);
|
||||
|
||||
ledger->setImmutable(true);
|
||||
|
||||
// Store in ledger master
|
||||
|
||||
Reference in New Issue
Block a user