diff options
author | rsiddharth <s@ricketyspace.net> | 2020-12-06 16:12:09 -0500 |
---|---|---|
committer | rsiddharth <s@ricketyspace.net> | 2020-12-06 16:12:09 -0500 |
commit | eaa49f9e6028c7cd87806967e034786d728561e8 (patch) | |
tree | 50f258a4ef50679e43245810ac5c14d06cef65ad | |
parent | f1297ed8020ad97495f38583dbdb4a35ae3c678d (diff) |
lib/hex: update BytesToHexStr
Don't add space character.
-rw-r--r-- | lib/hex.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 } |