Skip to content

Commit 5f8ab33

Browse files
tlongwell-blocknpub1mprnacetjua2xx3p5eddmhxyk6wv929ymm5py8kd2xfxurxahspqqlgyta
andauthored
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>
1 parent 5c2f46e commit 5f8ab33

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

‎crates/buzz-relay/src/nip11.rs‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ impl RelayInfo {
119119
pubkey: None,
120120
contact: None,
121121
supported_nips,
122-
software: "https://github.com/block/sprout".to_string(),
122+
software: "https://github.com/block/buzz".to_string(),
123123
version: env!("CARGO_PKG_VERSION").to_string(),
124124
limitation: Some(relay_limitation()),
125125
relay_self: relay_self.map(|s| s.to_string()),
@@ -180,6 +180,12 @@ mod tests {
180180
);
181181
}
182182

183+
#[test]
184+
fn build_advertises_buzz_repository_url() {
185+
let info = RelayInfo::build(None, false);
186+
assert_eq!(info.software, "https://github.com/block/buzz");
187+
}
188+
183189
#[test]
184190
fn auth_required_is_advertised_true() {
185191
// REQ, EVENT, and COUNT all unconditionally require

0 commit comments

Comments
 (0)