From b5518cac1c79f0b363809b6811b7feaf9c832129 Mon Sep 17 00:00:00 2001 From: GenZmeY Date: Mon, 2 Nov 2020 20:41:21 +0300 Subject: [PATCH] fixed incorrect symbols in the output file when using the --noise parameter --- cmd/range-gen/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/range-gen/main.go b/cmd/range-gen/main.go index 85976b9..19c1268 100644 --- a/cmd/range-gen/main.go +++ b/cmd/range-gen/main.go @@ -167,7 +167,7 @@ func calcRanges(hashes map[string]string, Threshold int) string { var rangeNoise string = "" if ArgDefaultNoiseLevel >= 0 { - rangeNoise = "\t" + string(ArgDefaultNoiseLevel) + rangeNoise = "\t" + strconv.Itoa(ArgDefaultNoiseLevel) } names := []string{}