forked from Qortal/qortal
Logging fix: size() was called on wrong collection, leading to confusing logging output
This commit is contained in:
parent
ae92a6eed4
commit
c032b92d0d
@ -652,7 +652,7 @@ public class OnlineAccountsManager {
|
|||||||
.filter(account -> outgoingLeadingBytes.contains(account.getPublicKey()[0]))
|
.filter(account -> outgoingLeadingBytes.contains(account.getPublicKey()[0]))
|
||||||
.forEach(outgoingOnlineAccounts::add);
|
.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",
|
LOGGER.debug(String.format("Going to send %d online accounts for timestamp %d and leading bytes %s",
|
||||||
outgoingOnlineAccounts.size() - beforeAddSize,
|
outgoingOnlineAccounts.size() - beforeAddSize,
|
||||||
timestamp,
|
timestamp,
|
||||||
|
Loading…
Reference in New Issue
Block a user