Fix logging

This commit is contained in:
Manfred Karrer 2019-03-21 00:32:40 -05:00
parent 735f619fee
commit 28c93672ef
No known key found for this signature in database
GPG Key ID: 401250966A6B2C46
2 changed files with 2 additions and 2 deletions

View File

@ -143,7 +143,7 @@ public class BlindVoteStateMonitoringService implements DaoSetupService, DaoStat
maybeUpdateHashChain(i);
}
if (!blindVoteStateBlockChain.isEmpty()) {
log.info("updateHashChain for {} items took {} ms",
log.info("updateHashChain for {} blocks took {} ms",
blockHeight - genesisBlockHeight,
System.currentTimeMillis() - ts);
}

View File

@ -143,7 +143,7 @@ public class ProposalStateMonitoringService implements DaoSetupService, DaoState
hashChainUpdated = hashChainUpdated || isHashChainUpdated;
}
if (hashChainUpdated) {
log.info("updateHashChain for {} items took {} ms",
log.info("updateHashChain for {} blocks took {} ms",
blockHeight - genesisBlockHeight,
System.currentTimeMillis() - ts);
}