mirror of
https://github.com/lnbits/lnbits.git
synced 2025-06-23 23:33:57 +02:00
fix indentation
This commit is contained in:
parent
89266f9aa2
commit
6a262428cd
@ -60,9 +60,7 @@ async def on_invoice_paid(payment: Payment) -> None:
|
||||
amount_msat = int(amount_to_split)
|
||||
else:
|
||||
amount_msat = int(amount_to_split * target.percent / 100)
|
||||
memo = (
|
||||
f"Split payment: {target.percent}% for {target.alias or target.wallet}"
|
||||
)
|
||||
memo = f"Split payment: {target.percent}% for {target.alias or target.wallet}"
|
||||
|
||||
payment_hash, payment_request = await create_invoice(
|
||||
wallet_id=target.wallet,
|
||||
|
Loading…
x
Reference in New Issue
Block a user