We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4514d70 + 8188c66 commit e39a107Copy full SHA for e39a107
1 file changed
mutiny-core/src/nostr/mod.rs
@@ -1690,8 +1690,12 @@ impl<S: MutinyStorage> NostrManager<S> {
1690
}
1691
});
1692
1693
+ // if the network tag is missing, we assume it is on mainnet
1694
+ let network_tag = network_tag
1695
+ .as_deref()
1696
+ .unwrap_or(network_to_string(Network::Bitcoin));
1697
// skip if the network doesn't match
- if network_tag.is_none() || network_tag.unwrap() != network_str {
1698
+ if network_tag != network_str {
1699
continue;
1700
1701
0 commit comments