fix: case sensitivity
This commit is contained in:
parent
b371bccf6c
commit
508adb573f
3 changed files with 48 additions and 85 deletions
|
|
@ -93,11 +93,11 @@ function getGaloyWallet (token, endpoint, walletId) {
|
|||
}
|
||||
|
||||
function isLnInvoice (address) {
|
||||
return address.startsWith('lnbc')
|
||||
return address.toLowerCase().startsWith('lnbc')
|
||||
}
|
||||
|
||||
function isLnurl (address) {
|
||||
return address.startsWith('lnurl')
|
||||
return address.toLowerCase().startsWith('lnurl')
|
||||
}
|
||||
|
||||
function sendFundsOnChain (walletId, address, cryptoAtoms, token, endpoint) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue