mirror of
https://github.com/block/buzz.git
synced 2026-10-28 21:11:48 +00:00
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:
@@ -119,7 +119,7 @@ impl RelayInfo {
|
|||||||
pubkey: None,
|
pubkey: None,
|
||||||
contact: None,
|
contact: None,
|
||||||
supported_nips,
|
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(),
|
version: env!("CARGO_PKG_VERSION").to_string(),
|
||||||
limitation: Some(relay_limitation()),
|
limitation: Some(relay_limitation()),
|
||||||
relay_self: relay_self.map(|s| s.to_string()),
|
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]
|
#[test]
|
||||||
fn auth_required_is_advertised_true() {
|
fn auth_required_is_advertised_true() {
|
||||||
// REQ, EVENT, and COUNT all unconditionally require
|
// REQ, EVENT, and COUNT all unconditionally require
|
||||||
|
|||||||
Reference in New Issue
Block a user