bug: code 6, webln not available
This commit is contained in:
parent
e480e74882
commit
7baa85ca11
@ -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> {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user