From 994b203a8e207bf623c881efb972c7272a1bd8ca Mon Sep 17 00:00:00 2001 From: calle <93376500+callebtc@users.noreply.github.com> Date: Wed, 29 Mar 2023 19:40:52 +0200 Subject: [PATCH] return fee in status (#1598) --- lnbits/core/services.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lnbits/core/services.py b/lnbits/core/services.py index 18dcbc9fb..c09cef703 100644 --- a/lnbits/core/services.py +++ b/lnbits/core/services.py @@ -386,7 +386,7 @@ async def check_transaction_status( return PaymentStatus(None) if not payment.pending: # note: before, we still checked the status of the payment again - return PaymentStatus(True) + return PaymentStatus(True, fee_msat=payment.fee) status: PaymentStatus = await payment.check_status() return status