From eaa49f9e6028c7cd87806967e034786d728561e8 Mon Sep 17 00:00:00 2001 From: rsiddharth Date: Sun, 6 Dec 2020 16:12:09 -0500 Subject: lib/hex: update BytesToHexStr Don't add space character. --- lib/hex.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/hex.go b/lib/hex.go index e5540ce..9ec762c 100644 --- a/lib/hex.go +++ b/lib/hex.go @@ -90,7 +90,7 @@ func BytesToHexStr(bs []byte) string { hs := "" for i := 0; i < len(bs); i++ { - hs += " " + ByteToHexStr(bs[i]) + hs += ByteToHexStr(bs[i]) } return hs } -- cgit v1.2.3