Skip to content

Commit

Permalink
Avoiding creating a lnurl link with just those words
Browse files Browse the repository at this point in the history
  • Loading branch information
vitorpamplona committed May 16, 2023
1 parent 27182a7 commit dd8b208
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import java.util.regex.Pattern

object LnWithdrawalUtil {
private val withdrawalPattern = Pattern.compile(
"lnurl.*",
"lnurl.+",
Pattern.CASE_INSENSITIVE
)

Expand Down

0 comments on commit dd8b208

Please sign in to comment.