@henningw commented on this pull request.


> +    
+    LM_ERR("Failed to recover address with any recovery ID");
+    secp256k1_context_destroy(ctx);
+    return -1;
+}
+
+/**
+ * Check if a string is a valid Ethereum address (0x + 40 hex chars)
+ */
+static int is_ethereum_address(const char *str) {
+    int i;
+    
+    if (!str) return 0;
+    
+    /* Check for 0x prefix */
+    if (strncmp(str, "0x", 2) != 0 && strncmp(str, "0X", 2) != 0) {

DBG was added

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/4470#discussion_r2660909849
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/pull/4470/review/[email protected]>
_______________________________________________
Kamailio - Development Mailing List -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to