aboutsummaryrefslogtreecommitdiffstats
path: root/common/bytes.go
diff options
context:
space:
mode:
Diffstat (limited to 'common/bytes.go')
-rw-r--r--common/bytes.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/common/bytes.go b/common/bytes.go
index ba6987a9e..389ac0e4b 100644
--- a/common/bytes.go
+++ b/common/bytes.go
@@ -154,7 +154,6 @@ func Hex2Bytes(str string) []byte {
}
func Hex2BytesFixed(str string, flen int) []byte {
-
h, _ := hex.DecodeString(str)
if len(h) == flen {
return h
@@ -167,7 +166,6 @@ func Hex2BytesFixed(str string, flen int) []byte {
return hh
}
}
-
}
func StringToByteFunc(str string, cb func(str string) []byte) (ret []byte) {