mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Ledger consensus stuff.
This commit is contained in:
@@ -368,7 +368,8 @@ int NetworkOPs::beginConsensus(Ledger::pointer closingLedger)
|
||||
|
||||
// Create a consensus object to get consensus on this ledger
|
||||
if (!!mConsensus) mConsensus->abort();
|
||||
mConsensus = boost::make_shared<LedgerConsensus>(prevLedger, closingLedger);
|
||||
mConsensus = boost::make_shared<LedgerConsensus>(prevLedger);
|
||||
mConsensus->closeTime(closingLedger); // FIXME: Create consensus a few seconds before close time
|
||||
|
||||
#ifdef DEBUG
|
||||
std::cerr << "Broadcasting ledger close" << std::endl;
|
||||
|
||||
Reference in New Issue
Block a user