From 9f2f82d0e6bd5002eff4af7da28dfbdb645966bc Mon Sep 17 00:00:00 2001 From: callebtc <93376500+callebtc@users.noreply.github.com> Date: Tue, 7 Nov 2023 00:16:11 -0300 Subject: [PATCH] format --- cashu/wallet/api/router.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cashu/wallet/api/router.py b/cashu/wallet/api/router.py index 802a7c80..edbee08c 100644 --- a/cashu/wallet/api/router.py +++ b/cashu/wallet/api/router.py @@ -197,7 +197,9 @@ async def swap( _, send_proofs = await outgoing_wallet.split_to_send( outgoing_wallet.proofs, total_amount, set_reserved=True ) - await outgoing_wallet.pay_lightning(send_proofs, invoice.bolt11, quote.fee_reserve, quote.quote) + await outgoing_wallet.pay_lightning( + send_proofs, invoice.bolt11, quote.fee_reserve, quote.quote + ) # mint token in incoming mint await incoming_wallet.mint(amount, id=invoice.id)