mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-03-17 21:31:52 +01:00
Update zap_utils.py
This commit is contained in:
parent
e92346ef44
commit
9fc325cc95
@ -150,7 +150,7 @@ def decrypt_private_zap_message(msg: str, privkey: SecretKey, pubkey: PublicKey)
|
||||
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"):
|
||||
url = lnurl.decode(lud16)
|
||||
elif '@' in lud16: #LNaddress
|
||||
|
Loading…
x
Reference in New Issue
Block a user