mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-11-19 12:17:40 +01:00
Update cashu_utils.py
This commit is contained in:
@@ -169,7 +169,7 @@ def redeem_cashu(cashu, config, client, required_amount=0, update_self=False) ->
|
|||||||
else:
|
else:
|
||||||
msg = tree.get("detail").split('.')[0].strip() if tree.get("detail") else None
|
msg = tree.get("detail").split('.')[0].strip() if tree.get("detail") else None
|
||||||
print(msg)
|
print(msg)
|
||||||
return False, msg
|
return False, msg, redeem_invoice_amount, fees
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(e)
|
print(e)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user