bug: lndhub payment state
refactor: use webln package
This commit is contained in:
@ -50,10 +50,14 @@ export class NostrConnectWallet implements LNWallet {
|
||||
} as WalletConnectConfig;
|
||||
}
|
||||
|
||||
isReady(): boolean {
|
||||
canAutoLogin(): boolean {
|
||||
return true;
|
||||
}
|
||||
|
||||
isReady(): boolean {
|
||||
return this.#conn !== undefined;
|
||||
}
|
||||
|
||||
async getInfo() {
|
||||
await this.login();
|
||||
return await new Promise<WalletInfo>((resolve, reject) => {
|
||||
|
Reference in New Issue
Block a user