forked from LaconicNetwork/cosmos-explorer
Merge pull request #615 from gevulotnetwork/fix/block-estimation
remove truncation of blockspeed to more accurately estimate block arrival
This commit is contained in:
commit
4d2d093560
@ -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
|
||||
})
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user