Merge pull request #615 from gevulotnetwork/fix/block-estimation

remove truncation of blockspeed to more accurately estimate block arrival
This commit is contained in:
ping
2025-02-21 08:58:09 +08:00
committed by GitHub
+1 -1
View File
@@ -38,7 +38,7 @@ const remainingBlocks = computed(() => {
})
const estimateTime = computed(() => {
const seconds = remainingBlocks.value * Number((store.blocktime / 1000).toFixed()) * 1000
const seconds = Number((remainingBlocks.value * store.blocktime).toFixed(2))
return seconds
})