From 3060db2c7263e118b97b58af2e456e4527e7a518 Mon Sep 17 00:00:00 2001 From: witty <131909329+0xwitty@users.noreply.github.com> Date: Mon, 25 Nov 2024 12:26:57 +0300 Subject: [PATCH] typo Update main.go Fix Typo in validateSignedMessage Function --- cli/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/main.go b/cli/main.go index c1f0822..37f5499 100644 --- a/cli/main.go +++ b/cli/main.go @@ -33,7 +33,7 @@ const timestampFormat = "Mon 02 Jan 2006 3:04:05 PM MST" func validateSignedMessage(inp string) (*SignedMessage, error) { var sm SignedMessage - // Strip newlines form inp + // Strip newlines from inp inp = strings.ReplaceAll(inp, "\n", "") err := json.Unmarshal([]byte(inp), &sm)