shed: make non-auto nonce-fix safer

This commit is contained in:
Łukasz Magiera 2020-03-10 02:11:07 +01:00
parent 2bf9f10f16
commit 47e3b5b902

View File

@ -77,10 +77,10 @@ var noncefix = &cli.Command{
} }
} }
if end == math.MaxUint64 { }
fmt.Println("No nonce gap found") if end == math.MaxUint64 {
return nil fmt.Println("No nonce gap found or no --end flag specified")
} return nil
} }
fmt.Printf("Creating %d filler messages (%d ~ %d)\n", end-start, start, end) fmt.Printf("Creating %d filler messages (%d ~ %d)\n", end-start, start, end)