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
commit 4d2d093560
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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
})