fix indentation

This commit is contained in:
Tiago Vasconcelos 2023-01-06 12:53:26 +00:00
parent 89266f9aa2
commit 6a262428cd

View file

@ -60,9 +60,7 @@ async def on_invoice_paid(payment: Payment) -> None:
amount_msat = int(amount_to_split) amount_msat = int(amount_to_split)
else: else:
amount_msat = int(amount_to_split * target.percent / 100) amount_msat = int(amount_to_split * target.percent / 100)
memo = ( memo = f"Split payment: {target.percent}% for {target.alias or target.wallet}"
f"Split payment: {target.percent}% for {target.alias or target.wallet}"
)
payment_hash, payment_request = await create_invoice( payment_hash, payment_request = await create_invoice(
wallet_id=target.wallet, wallet_id=target.wallet,