bug: code 6, webln not available

This commit is contained in:
Kieran 2023-05-08 14:08:12 +01:00
parent e480e74882
commit 7baa85ca11
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ export class WebLNWallet implements LNWallet {
if (window.webln) { if (window.webln) {
return true; return true;
} }
throw new WalletError(WalletErrorCode.GeneralError, "WebLN not available"); return false;
} }
async getInfo(): Promise<WalletInfo> { async getInfo(): Promise<WalletInfo> {