diff --git a/core/src/main/java/bisq/core/dao/governance/bond/BondRepository.java b/core/src/main/java/bisq/core/dao/governance/bond/BondRepository.java index 3e486cde14..b329f5ba76 100644 --- a/core/src/main/java/bisq/core/dao/governance/bond/BondRepository.java +++ b/core/src/main/java/bisq/core/dao/governance/bond/BondRepository.java @@ -213,6 +213,7 @@ public abstract class BondRepository, T extends BondedAsset> i protected abstract Stream getBondedAssetStream(); protected void update() { + long ts = System.currentTimeMillis(); log.debug("update"); getBondedAssetStream().forEach(bondedAsset -> { String uid = bondedAsset.getUid(); @@ -226,6 +227,7 @@ public abstract class BondRepository, T extends BondedAsset> i updateBondStateFromUnconfirmedUnlockTxs(); bonds.setAll(bondByUidMap.values()); + log.debug("update took {} ms", System.currentTimeMillis() - ts); }