mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-10-09 23:32:44 +02:00
Update zap_utils.py
This commit is contained in:
@@ -150,7 +150,7 @@ def decrypt_private_zap_message(msg: str, privkey: SecretKey, pubkey: PublicKey)
|
|||||||
return str(ex)
|
return str(ex)
|
||||||
|
|
||||||
|
|
||||||
def zap(lud16: str, amount: int, zap_type, content, recipient_pubkey, zapped_event, keys, dvm_config):
|
def zap(lud16: str, amount: int, content, recipient_pubkey, zapped_event, keys, dvm_config):
|
||||||
if lud16.startswith("LNURL") or lud16.startswith("lnurl"):
|
if lud16.startswith("LNURL") or lud16.startswith("lnurl"):
|
||||||
url = lnurl.decode(lud16)
|
url = lnurl.decode(lud16)
|
||||||
elif '@' in lud16: #LNaddress
|
elif '@' in lud16: #LNaddress
|
||||||
|
Reference in New Issue
Block a user