mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-16 13:06:40 +00:00
cmd/geth: round the import ETA before converting to string
This commit is contained in:
parent
271fb20ecb
commit
c4af70d0cc
1 changed files with 1 additions and 1 deletions
|
|
@ -330,7 +330,7 @@ func (js *jsre) syncProgress(call otto.FunctionCall) otto.Value {
|
||||||
"pending": pending,
|
"pending": pending,
|
||||||
"cached": cached,
|
"cached": cached,
|
||||||
"importing": importing,
|
"importing": importing,
|
||||||
"estimate": eta.String(),
|
"estimate": (eta / time.Second * time.Second).String(),
|
||||||
})
|
})
|
||||||
return v
|
return v
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue