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

This commit is contained in:
Mahdi Abu Yasmine 2023-12-15 00:44:34 +01:00
parent dbb1c986eb
commit d85ab069ac

View File

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