devops - drone test build
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Mahdi Abu Yasmine 2023-12-16 00:24:58 +01:00
parent 209d955a29
commit 3b893b1a2f
1 changed files with 1 additions and 1 deletions

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)