From 5dda51e2710a9a284d071c370ef19ffc22c6f858 Mon Sep 17 00:00:00 2001 From: solomon ogu Date: Wed, 19 Mar 2025 19:44:37 +0100 Subject: [PATCH] Fix: better error message to clarify private key format requirements --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 2b947d3..f337f51 100644 --- a/main.go +++ b/main.go @@ -38,7 +38,7 @@ func main() { pubKey, err := utils.GetCompressedPublicKey() if err != nil { - log.Fatal("Error loading .env file") + log.Fatal("Error getting public key: Please ensure your private key does not start with '0x'") } log.Printf("Compressed Public Key: %s", pubKey)