From f223ca1970bd3760faca4eb83578c62ae4429e96 Mon Sep 17 00:00:00 2001 From: npub1mprnacetjua2xx3p5eddmhxyk6wv929ymm5py8kd2xfxurxahspqqlgyta Date: Sat, 13 Jun 2026 13:30:00 -0400 Subject: [PATCH] fix(relay): advertise buzz repository in NIP-11 Co-authored-by: npub1mprnacetjua2xx3p5eddmhxyk6wv929ymm5py8kd2xfxurxahspqqlgyta Signed-off-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 7c0fdb4e6..7fb11cafa 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