don't fail loading if the cashu mint is offline, or otherwise unreacheable

This commit is contained in:
Danny Morabito 2025-07-17 20:52:44 +02:00
parent b194ace128
commit 9a10ae1bb7
Signed by: dannym
GPG key ID: 7CC8056A5A04557E

View file

@ -116,8 +116,10 @@ export default class PortalBtcWallet {
},
});
await this.cashuSDK.init(() => this.emitEvent("balanceUpdated"));
await this.redeemCashuQuotes();
await this.maybeMelt();
try {
await this.redeemCashuQuotes();
await this.maybeMelt();
} catch {}
}
private async refreshBreezBalances() {