mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Refactor LedgerConsensus code. Add new LC work.
Properly sequence LC states Properly handle wobble time. Complete LC sequence correctly and exit it.
This commit is contained in:
@@ -621,7 +621,7 @@ void Peer::recvPropose(newcoin::TMProposeSet& packet)
|
||||
memcpy(currentTxHash.begin(), packet.currenttxhash().data(), 32);
|
||||
memcpy(prevLgrHash.begin(), packet.prevclosedhash().data(), 32);
|
||||
|
||||
if(theApp->getOPs().proposeLedger(prevLgrHash, proposeSeq, currentTxHash,
|
||||
if(theApp->getOPs().recvPropose(prevLgrHash, proposeSeq, currentTxHash,
|
||||
packet.nodepubkey(), packet.signature()))
|
||||
{ // FIXME: Not all nodes will want proposals
|
||||
PackedMessage::pointer message = boost::make_shared<PackedMessage>(packet, newcoin::mtPROPOSE_LEDGER);
|
||||
|
||||
Reference in New Issue
Block a user