From 207caf6d132e5c3eec2136b8e0dac2f0cc2e7b7d Mon Sep 17 00:00:00 2001 From: Muzzammil Date: Mon, 1 Jul 2024 22:12:52 +0500 Subject: [PATCH] Fix: Handle raw format in cryptosign --- helpers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers.go b/helpers.go index 2bea9b8..b030787 100644 --- a/helpers.go +++ b/helpers.go @@ -51,7 +51,7 @@ func DecodeHexOrBase64(str string) ([]byte, error) { func FormatOutput(outputFormat, outputString string) (string, error) { switch outputFormat { - case HexFormat, "": + case HexFormat, RawFormat: return outputString, nil case Base64Format: