Skip to content
This repository was archived by the owner on Feb 3, 2025. It is now read-only.

New relay #987

Merged
merged 1 commit into from
Jan 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion mutiny-core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1838,7 +1838,7 @@ impl<S: MutinyStorage> MutinyWallet<S> {
let data = ZapRequestData {
public_key: zap_npub,
relays: vec![
"wss://nostr.mutinywallet.com".into(),
"wss://relay.mutinywallet.com".into(),
"wss://relay.primal.net".into(),
],
message: comment.unwrap_or_default(),
Expand Down
12 changes: 6 additions & 6 deletions mutiny-core/src/nostr/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ impl<S: MutinyStorage> NostrManager<S> {
relays.push("wss://relay.damus.io".to_string());

// add blastr for default sending
relays.push("wss://nostr.mutinywallet.com".to_string());
relays.push("wss://relay.mutinywallet.com".to_string());

// remove duplicates
relays.sort();
Expand Down Expand Up @@ -432,7 +432,7 @@ impl<S: MutinyStorage> NostrManager<S> {
index,
client_key: Some(uri.public_key),
child_key_index,
relay: "wss://nostr.mutinywallet.com".to_string(), // override with our relay
relay: "wss://relay.mutinywallet.com".to_string(), // override with our relay
enabled: None,
archived: None,
spending_conditions,
Expand Down Expand Up @@ -473,7 +473,7 @@ impl<S: MutinyStorage> NostrManager<S> {
name,
index,
child_key_index,
relay: "wss://nostr.mutinywallet.com".to_string(),
relay: "wss://relay.mutinywallet.com".to_string(),
enabled: None,
archived: None,
spending_conditions,
Expand Down Expand Up @@ -1504,7 +1504,7 @@ mod test {
name,
index: 1001,
client_key: None,
relay: "wss://nostr.mutinywallet.com".to_string(),
relay: "wss://relay.mutinywallet.com".to_string(),
enabled: None,
archived: None,
child_key_index: None,
Expand Down Expand Up @@ -1629,7 +1629,7 @@ mod test {

assert_eq!(profile.name, name);
assert_eq!(profile.index, 1000);
assert_eq!(profile.relay.as_str(), "wss://nostr.mutinywallet.com");
assert_eq!(profile.relay.as_str(), "wss://relay.mutinywallet.com");

profile.relay = "wss://relay.damus.io".to_string();

Expand Down Expand Up @@ -1670,7 +1670,7 @@ mod test {

assert_eq!(profile.name, name);
assert_eq!(profile.index, 1000);
assert_eq!(profile.relay.as_str(), "wss://nostr.mutinywallet.com");
assert_eq!(profile.relay.as_str(), "wss://relay.mutinywallet.com");

nostr_manager.delete_nwc_profile(profile.index).unwrap();

Expand Down
Loading