Update cli/sync.go

This commit is contained in:
Whyrusleeping 2019-11-19 09:24:17 -06:00 committed by GitHub
parent 0ccaa71545
commit 1cd584d81b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -99,7 +99,7 @@ var syncWaitCmd = &cli.Command{
fmt.Printf("\r\x1b[2KWorker %d: Target: %s\tState: %s\tHeight: %d", working, target, chain.SyncStageString(ss.Stage), ss.Height) fmt.Printf("\r\x1b[2KWorker %d: Target: %s\tState: %s\tHeight: %d", working, target, chain.SyncStageString(ss.Stage), ss.Height)
if time.Now().Unix()-int64(head.MinTimestamp()) < build.BlockDelay { if time.Now().Unix()-int64(head.MinTimestamp()) < build.BlockDelay {
fmt.Println("Done!") fmt.Println("\nDone!")
return nil return nil
} }