Commit c4af70d0 authored by Péter Szilágyi's avatar Péter Szilágyi

cmd/geth: round the import ETA before converting to string

parent 271fb20e
......@@ -330,7 +330,7 @@ func (js *jsre) syncProgress(call otto.FunctionCall) otto.Value {
"pending": pending,
"cached": cached,
"importing": importing,
"estimate": eta.String(),
"estimate": (eta / time.Second * time.Second).String(),
})
return v
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment