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.
This commit is contained in:
jwinterm
2026-08-01 07:36:34 -04:00
parent 0b410c2b00
commit 11cf5947ce
+4 -4
View File
@@ -169,11 +169,11 @@ mod tests {
assert!(empty.name.is_none()); assert!(empty.name.is_none());
} }
/// Default relay hints are well-formed `wss://` URLs. /// Interop relay hints are well-formed `wss://` URLs.
#[test] #[test]
fn default_relays_are_wss() { fn interop_relay_hints_are_wss() {
assert!(!DEFAULT_RELAYS.is_empty()); assert!(!INTEROP_RELAY_HINTS.is_empty());
assert!(DEFAULT_RELAYS.iter().all(|r| r.starts_with("wss://"))); assert!(INTEROP_RELAY_HINTS.iter().all(|r| r.starts_with("wss://")));
} }
/// The response serializes to the exact NIP-05 wire shape, and an empty /// The response serializes to the exact NIP-05 wire shape, and an empty