From 5f8ab33b3b132decc35b80723fb8f197d37edda9 Mon Sep 17 00:00:00 2001 From: tlongwell-block <109685178+tlongwell-block@users.noreply.github.com> Date: Sat, 13 Jun 2026 13:45:57 -0400 Subject: [PATCH] Fix relay NIP-11 software URL (#1030) Signed-off-by: npub1mprnacetjua2xx3p5eddmhxyk6wv929ymm5py8kd2xfxurxahspqqlgyta Co-authored-by: npub1mprnacetjua2xx3p5eddmhxyk6wv929ymm5py8kd2xfxurxahspqqlgyta --- crates/buzz-relay/src/nip11.rs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/crates/buzz-relay/src/nip11.rs b/crates/buzz-relay/src/nip11.rs index 7c0fdb4e60..7fb11cafa4 100644 --- a/crates/buzz-relay/src/nip11.rs +++ b/crates/buzz-relay/src/nip11.rs @@ -119,7 +119,7 @@ impl RelayInfo { pubkey: None, contact: None, supported_nips, - software: "https://github.com/block/sprout".to_string(), + software: "https://github.com/block/buzz".to_string(), version: env!("CARGO_PKG_VERSION").to_string(), limitation: Some(relay_limitation()), relay_self: relay_self.map(|s| s.to_string()), @@ -180,6 +180,12 @@ mod tests { ); } + #[test] + fn build_advertises_buzz_repository_url() { + let info = RelayInfo::build(None, false); + assert_eq!(info.software, "https://github.com/block/buzz"); + } + #[test] fn auth_required_is_advertised_true() { // REQ, EVENT, and COUNT all unconditionally require