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

Commit

Permalink
Merge pull request #987 from MutinyWallet/new-relay
Browse files Browse the repository at this point in the history
New relay
  • Loading branch information
AnthonyRonning authored Jan 25, 2024
2 parents 7b44ff6 + bbabfda commit 436844e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
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

0 comments on commit 436844e

Please sign in to comment.