mirror of
https://github.com/Qortal/qortal.git
synced 2025-07-23 04:36:50 +00:00
Logging fix: size() was called on wrong collection, leading to confusing logging output
This commit is contained in:
@@ -652,7 +652,7 @@ public class OnlineAccountsManager {
|
||||
.filter(account -> outgoingLeadingBytes.contains(account.getPublicKey()[0]))
|
||||
.forEach(outgoingOnlineAccounts::add);
|
||||
|
||||
if (outgoingLeadingBytes.size() > beforeAddSize)
|
||||
if (outgoingOnlineAccounts.size() > beforeAddSize)
|
||||
LOGGER.debug(String.format("Going to send %d online accounts for timestamp %d and leading bytes %s",
|
||||
outgoingOnlineAccounts.size() - beforeAddSize,
|
||||
timestamp,
|
||||
|
Reference in New Issue
Block a user