common: Remove empty lines

parent 3d971c5a
...@@ -154,7 +154,6 @@ func Hex2Bytes(str string) []byte { ...@@ -154,7 +154,6 @@ func Hex2Bytes(str string) []byte {
} }
func Hex2BytesFixed(str string, flen int) []byte { func Hex2BytesFixed(str string, flen int) []byte {
h, _ := hex.DecodeString(str) h, _ := hex.DecodeString(str)
if len(h) == flen { if len(h) == flen {
return h return h
...@@ -167,7 +166,6 @@ func Hex2BytesFixed(str string, flen int) []byte { ...@@ -167,7 +166,6 @@ func Hex2BytesFixed(str string, flen int) []byte {
return hh return hh
} }
} }
} }
func StringToByteFunc(str string, cb func(str string) []byte) (ret []byte) { func StringToByteFunc(str string, cb func(str string) []byte) (ret []byte) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment