From e2e7eca1f116faae66d53344336fdfa433cd7eea Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Mon, 22 Oct 2012 10:30:42 -0700 Subject: [PATCH] Fix a small bug in the ledger tiebreak algorithm based on nodes using. --- src/NetworkOPs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NetworkOPs.cpp b/src/NetworkOPs.cpp index bdf97d4d9..a2e800bc4 100644 --- a/src/NetworkOPs.cpp +++ b/src/NetworkOPs.cpp @@ -496,7 +496,7 @@ bool NetworkOPs::checkLastClosedLedger(const std::vector& peerLis ValidationCount& ourVC = ledgers[closedLedger]; - if ((theConfig.LEDGER_CREATOR) && (mMode >= omTRACKING)) + if (mMode >= omTRACKING) { ++ourVC.nodesUsing; uint160 ourAddress = theApp->getWallet().getNodePublic().getNodeID();