Skip to content

Commit

Permalink
Add node alias to invoice description
Browse files Browse the repository at this point in the history
  • Loading branch information
KoalaSat committed Oct 18, 2024
1 parent c8de8c9 commit 2fc61ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/logics.py
Original file line number Diff line number Diff line change
Expand Up @@ -1277,9 +1277,9 @@ def gen_maker_hold_invoice(cls, order, user):
bond_satoshis = int(order.last_satoshis * order.bond_size / 100)

if user.robot.wants_stealth:
description = f"Payment reference: {order.reference}. This payment WILL FREEZE IN YOUR WALLET, check on RoboSats if the lock was successful. It will be unlocked (fail) unless you cheat or cancel unilaterally."
description = f"{config("NODE_ALIAS")} - Payment reference: {order.reference}. This payment WILL FREEZE IN YOUR WALLET, check on RoboSats if the lock was successful. It will be unlocked (fail) unless you cheat or cancel unilaterally."
else:
description = f"RoboSats - Publishing '{str(order)}' - Maker bond - This payment WILL FREEZE IN YOUR WALLET, check on RoboSats if the lock was successful. It will be unlocked (fail) unless you cheat or cancel unilaterally."
description = f"{config("NODE_ALIAS")} - Publishing '{str(order)}' - Maker bond - This payment WILL FREEZE IN YOUR WALLET, check on RoboSats if the lock was successful. It will be unlocked (fail) unless you cheat or cancel unilaterally."

# Gen hold Invoice
try:
Expand Down

0 comments on commit 2fc61ba

Please sign in to comment.