devops - drone test error build
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Mahdi Abu Yasmine 2023-12-14 23:48:23 +01:00
parent 0081639468
commit c869dfc0eb

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)