Fix a small bug in the ledger tiebreak algorithm based on nodes using.

This commit is contained in:
JoelKatz
2012-10-22 10:30:42 -07:00
parent 2c2a2866a3
commit e2e7eca1f1

View File

@@ -496,7 +496,7 @@ bool NetworkOPs::checkLastClosedLedger(const std::vector<Peer::pointer>& peerLis
ValidationCount& ourVC = ledgers[closedLedger];
if ((theConfig.LEDGER_CREATOR) && (mMode >= omTRACKING))
if (mMode >= omTRACKING)
{
++ourVC.nodesUsing;
uint160 ourAddress = theApp->getWallet().getNodePublic().getNodeID();