Fix relay NIP-11 software URL (#1030)

Signed-off-by: npub1mprnacetjua2xx3p5eddmhxyk6wv929ymm5py8kd2xfxurxahspqqlgyta <d8473ee32b973aa31a21a65adddcc4b69cc2a8a4dee8121ecd51926e0cddbc02@sprout-oss.stage.blox.sqprod.co>
Co-authored-by: npub1mprnacetjua2xx3p5eddmhxyk6wv929ymm5py8kd2xfxurxahspqqlgyta <d8473ee32b973aa31a21a65adddcc4b69cc2a8a4dee8121ecd51926e0cddbc02@sprout-oss.stage.blox.sqprod.co>
This commit is contained in:
tlongwell-block
2026-06-13 13:45:57 -04:00
committed by GitHub
parent 5c2f46e627
commit 5f8ab33b3b

View File

@@ -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