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

pull/1224/head
Péter Szilágyi 10 years ago
parent 271fb20ecb
commit c4af70d0cc
  1. 2
      cmd/geth/admin.go

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

Loading…
Cancel
Save