Makes sure only valid lnurl withdraws get highlighted.
This commit is contained in:
@@ -4,7 +4,7 @@ import java.util.regex.Pattern
|
|||||||
|
|
||||||
object LnWithdrawalUtil {
|
object LnWithdrawalUtil {
|
||||||
private val withdrawalPattern = Pattern.compile(
|
private val withdrawalPattern = Pattern.compile(
|
||||||
"lnurl.+",
|
"lnurl1[02-9ac-hj-np-z]+",
|
||||||
Pattern.CASE_INSENSITIVE
|
Pattern.CASE_INSENSITIVE
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user