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

This commit is contained in:
Péter Szilágyi 2015-06-10 18:07:23 +03:00
parent 271fb20ecb
commit c4af70d0cc

View File

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