diff options
| author | bndw <ben@bdw.to> | 2026-02-08 10:25:39 -0800 |
|---|---|---|
| committer | bndw <ben@bdw.to> | 2026-02-08 10:25:39 -0800 |
| commit | 7fba76d7e4e63e0c29da81d6be43330743af1aaf (patch) | |
| tree | 97d20b9d8a077cabdf3e693af64b9fd13e77f736 /go.mod | |
| parent | e79f9ad89556000521b43ce5ff4eb59dd00768b0 (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.mod | 5 |
1 files changed, 1 insertions, 4 deletions
| @@ -2,10 +2,7 @@ module northwest.io/nostr | |||
| 2 | 2 | ||
| 3 | go 1.21 | 3 | go 1.21 |
| 4 | 4 | ||
| 5 | require ( | 5 | require 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 | ||
| 10 | require ( | 7 | require ( |
| 11 | github.com/btcsuite/btcd/chaincfg/chainhash v1.0.1 // indirect | 8 | github.com/btcsuite/btcd/chaincfg/chainhash v1.0.1 // indirect |
