diff options
author | Péter Szilágyi <peterke@gmail.com> | 2015-06-10 23:07:23 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2015-06-10 23:07:23 +0800 |
commit | c4af70d0cc213b5fd906a385cdb2895268525ef7 (patch) | |
tree | e1b9d0cf226ffa6239c49d316135e22844d40650 | |
parent | 271fb20ecb48944692bdb4e7f91be9b90506981b (diff) | |
download | go-tangerine-c4af70d0cc213b5fd906a385cdb2895268525ef7.tar go-tangerine-c4af70d0cc213b5fd906a385cdb2895268525ef7.tar.gz go-tangerine-c4af70d0cc213b5fd906a385cdb2895268525ef7.tar.bz2 go-tangerine-c4af70d0cc213b5fd906a385cdb2895268525ef7.tar.lz go-tangerine-c4af70d0cc213b5fd906a385cdb2895268525ef7.tar.xz go-tangerine-c4af70d0cc213b5fd906a385cdb2895268525ef7.tar.zst go-tangerine-c4af70d0cc213b5fd906a385cdb2895268525ef7.zip |
cmd/geth: round the import ETA before converting to string
-rw-r--r-- | cmd/geth/admin.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/geth/admin.go b/cmd/geth/admin.go index 7bf23829a..4f22110ad 100644 --- a/cmd/geth/admin.go +++ b/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 } |