Skip to content

Commit

Permalink
Merge pull request #3228 from getAlby/lnaddress-fix
Browse files Browse the repository at this point in the history
fix: lnaddress containing lnurl prefixes
  • Loading branch information
pavanjoshi914 authored Aug 28, 2024
2 parents 530b7ce + 7f55dab commit 97fd319
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/screens/Send/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ function Send() {
setLoading(true);

let lnurl = lnurlLib.findLnurl(invoice);
if (!lnurl && lnurlLib.isLightningAddress(invoice)) {

if (lnurlLib.isLightningAddress(invoice)) {
lnurl = invoice;
}

Expand Down

0 comments on commit 97fd319

Please sign in to comment.