summaryrefslogtreecommitdiffstats
path: root/go.mod
diff options
context:
space:
mode:
authorbndw <ben@bdw.to>2026-02-08 10:25:39 -0800
committerbndw <ben@bdw.to>2026-02-08 10:25:39 -0800
commit7fba76d7e4e63e0c29da81d6be43330743af1aaf (patch)
tree97d20b9d8a077cabdf3e693af64b9fd13e77f736 /go.mod
parente79f9ad89556000521b43ce5ff4eb59dd00768b0 (diff)
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.
Diffstat (limited to 'go.mod')
-rw-r--r--go.mod5
1 files changed, 1 insertions, 4 deletions
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
2 2
3go 1.21 3go 1.21
4 4
5require ( 5require github.com/btcsuite/btcd/btcec/v2 v2.3.2
6 github.com/btcsuite/btcd/btcec/v2 v2.3.2
7 github.com/coder/websocket v1.8.12
8)
9 6
10require ( 7require (
11 github.com/btcsuite/btcd/chaincfg/chainhash v1.0.1 // indirect 8 github.com/btcsuite/btcd/chaincfg/chainhash v1.0.1 // indirect