mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 11:05:54 +00:00
Fix a small bug in the ledger tiebreak algorithm based on nodes using.
This commit is contained in:
@@ -496,7 +496,7 @@ bool NetworkOPs::checkLastClosedLedger(const std::vector<Peer::pointer>& peerLis
|
|||||||
|
|
||||||
ValidationCount& ourVC = ledgers[closedLedger];
|
ValidationCount& ourVC = ledgers[closedLedger];
|
||||||
|
|
||||||
if ((theConfig.LEDGER_CREATOR) && (mMode >= omTRACKING))
|
if (mMode >= omTRACKING)
|
||||||
{
|
{
|
||||||
++ourVC.nodesUsing;
|
++ourVC.nodesUsing;
|
||||||
uint160 ourAddress = theApp->getWallet().getNodePublic().getNodeID();
|
uint160 ourAddress = theApp->getWallet().getNodePublic().getNodeID();
|
||||||
|
|||||||
Reference in New Issue
Block a user