adjust frequency

This commit is contained in:
liangping 2023-12-28 12:58:05 +08:00
parent 1b10c1cb3f
commit ad1055d191

View File

@ -125,7 +125,7 @@ function updateTotalSigningInfo() {
const commits2 = computed(() => {
const la = baseStore.recents.map((b) => b.block.last_commit);
// trigger update total signing info
if(la.length > 0 && la.at(0)?.height|| 0 % 7 === 0) {
if(la.length > 0 && Number(la.at(0)?.height|| 0) % 10 === 7) {
updateTotalSigningInfo();
};
const all = [...commits.value, ...la];