devops - drone test build
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Mahdi Abu Yasmine 2023-12-16 00:24:58 +01:00
parent 209d955a29
commit 3b893b1a2f

View File

@ -74,7 +74,7 @@ func GetBytesAsHex(key []byte) []byte {
hex.Encode(dst, key)
return dst
}
func
func GetBytesFromHex(key []byte) []byte {
dst := make([]byte, hex.DecodedLen(len(key)))
n, err := hex.Decode(dst, key)