common: Remove empty lines
This commit is contained in:
parent
3d971c5a34
commit
fbf3b2ede2
@ -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 {
|
|||||||
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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user