Faster processing of Nostr Walle Connect commands, stability improvements - Fix.1

This commit is contained in:
minibits-cash
2025-01-16 16:29:14 +01:00
parent 4e78da2245
commit ea5dd7cd80
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "minibits_wallet",
"version": "0.1.10-beta.21",
"version": "0.1.10-beta.22",
"private": true,
"scripts": {
"android:clean": "cd android && ./gradlew clean",
+1 -1
View File
@@ -70,7 +70,7 @@ export const WalletProfileStoreModel = types
// new wallet profile has not yet the relays
if(relaysStore.allUrls.length === 0) {
// saves default relays and creates subscription for incoming nostr messages
WalletTask.receiveEventsFromRelays()
WalletTask.receiveEventsFromRelaysQueue()
}
const relaysToPublish: string[] = relaysStore.allUrls
+2 -2
View File
@@ -75,11 +75,11 @@ export const RelaysScreen: FC<SettingsScreenProps> = observer(
log.trace('[onConnect]')
// Full force re-subscription, not just reconnect
WalletTask.receiveEventsFromRelays().catch(e => false)
WalletTask.receiveEventsFromRelaysQueue().catch(e => false)
// Subscribe to NWC events if we have some connections
if(!isRemoteDataPushEnabled) {
nwcStore.receiveNwcEvents()
nwcStore.receiveNwcEventsQueue()
}
setSelectedRelay(undefined)
}