From 11cf5947ceb003e6dc0cee450a1507e5f7ab3aad Mon Sep 17 00:00:00 2001 From: jwinterm Date: Sat, 1 Aug 2026 07:36:34 -0400 Subject: [PATCH] fix(nip05): repoint stale test to renamed INTEROP_RELAY_HINTS default_relays_are_wss still referenced DEFAULT_RELAYS, removed when the constant was renamed INTEROP_RELAY_HINTS, which broke the `cargo test`/--tests build. Repoint it (interop_relay_hints_are_wss); behaviour unchanged. --- src/api/nip05.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/api/nip05.rs b/src/api/nip05.rs index 0f1b51c..3aca6c8 100644 --- a/src/api/nip05.rs +++ b/src/api/nip05.rs @@ -169,11 +169,11 @@ mod tests { assert!(empty.name.is_none()); } - /// Default relay hints are well-formed `wss://` URLs. + /// Interop relay hints are well-formed `wss://` URLs. #[test] - fn default_relays_are_wss() { - assert!(!DEFAULT_RELAYS.is_empty()); - assert!(DEFAULT_RELAYS.iter().all(|r| r.starts_with("wss://"))); + fn interop_relay_hints_are_wss() { + assert!(!INTEROP_RELAY_HINTS.is_empty()); + assert!(INTEROP_RELAY_HINTS.iter().all(|r| r.starts_with("wss://"))); } /// The response serializes to the exact NIP-05 wire shape, and an empty