Commit c79369d9 authored by David Vorick's avatar David Vorick

go fmt

parent 28d2b57d
Pipeline #40816304 passed with stages
in 27 minutes and 17 seconds
......@@ -6,8 +6,8 @@ import (
"github.com/spf13/cobra"
"gitlab.com/NebulousLabs/Sia/types"
"gitlab.com/NebulousLabs/Sia/node/api"
"gitlab.com/NebulousLabs/Sia/types"
)
var (
......@@ -61,5 +61,5 @@ Progress (estimated): %.1f%%
func estimatedHeightAt(t time.Time, cg api.ConsensusGET) types.BlockHeight {
gt := cg.GenesisTimestamp
bf := cg.BlockFrequency
return types.BlockHeight(types.Timestamp(t.Unix()) - gt) / bf
return types.BlockHeight(types.Timestamp(t.Unix())-gt) / bf
}
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