Clean up and util methods
This commit is contained in:
@@ -98,6 +98,7 @@ func Bytes2Hex(d []byte) string {
|
||||
|
||||
func Hex2Bytes(str string) []byte {
|
||||
h, _ := hex.DecodeString(str)
|
||||
|
||||
return h
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user