mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-20 02:12:00 +01:00
Fix incorrect maybeUpdateHashChain call
This commit is contained in:
parent
2baced146b
commit
45185d3e34
@ -139,7 +139,8 @@ public class ProposalStateMonitoringService implements DaoSetupService, DaoState
|
|||||||
// Takes about 150 ms for dao testnet data
|
// Takes about 150 ms for dao testnet data
|
||||||
long ts = System.currentTimeMillis();
|
long ts = System.currentTimeMillis();
|
||||||
for (int i = genesisBlockHeight; i < blockHeight; i++) {
|
for (int i = genesisBlockHeight; i < blockHeight; i++) {
|
||||||
hashChainUpdated = hashChainUpdated || maybeUpdateHashChain(i);
|
boolean isHashChainUpdated = maybeUpdateHashChain(i);
|
||||||
|
hashChainUpdated = hashChainUpdated || isHashChainUpdated;
|
||||||
}
|
}
|
||||||
if (hashChainUpdated) {
|
if (hashChainUpdated) {
|
||||||
log.info("updateHashChain for {} items took {} ms",
|
log.info("updateHashChain for {} items took {} ms",
|
||||||
|
Loading…
Reference in New Issue
Block a user