From 7fba76d7e4e63e0c29da81d6be43330743af1aaf Mon Sep 17 00:00:00 2001 From: bndw Date: Sun, 8 Feb 2026 10:25:39 -0800 Subject: fix: correct WebSocket GUID constant (RFC 6455) Fixed typo in WebSocket GUID that was causing handshake failures. The GUID had '5AB5' instead of 'C5AB0' in the middle section. Correct value: 258EAFA5-E914-47DA-95CA-C5AB0DC85B11 This also includes the implementation of an internal WebSocket client to replace the external dependency, providing a minimal implementation tailored for Nostr relay connections. --- go.mod | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'go.mod') diff --git a/go.mod b/go.mod index 2220a3f..20a17ea 100644 --- a/go.mod +++ b/go.mod @@ -2,10 +2,7 @@ module northwest.io/nostr go 1.21 -require ( - github.com/btcsuite/btcd/btcec/v2 v2.3.2 - github.com/coder/websocket v1.8.12 -) +require github.com/btcsuite/btcd/btcec/v2 v2.3.2 require ( github.com/btcsuite/btcd/chaincfg/chainhash v1.0.1 // indirect -- cgit v1.2.3