summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorrsiddharth <s@ricketyspace.net>2020-12-06 16:12:09 -0500
committerrsiddharth <s@ricketyspace.net>2020-12-06 16:12:09 -0500
commiteaa49f9e6028c7cd87806967e034786d728561e8 (patch)
tree50f258a4ef50679e43245810ac5c14d06cef65ad /lib
parentf1297ed8020ad97495f38583dbdb4a35ae3c678d (diff)
lib/hex: update BytesToHexStr
Don't add space character.
Diffstat (limited to 'lib')
-rw-r--r--lib/hex.go2
1 files changed, 1 insertions, 1 deletions
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
}