Skip to content

Commit

Permalink
fix: lnaddress containing lnurl prefixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pavanjoshi914 committed Aug 26, 2024
1 parent c306b28 commit 7f55dab
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 7f55dab

Please sign in to comment.