return fee in status (#1598)

This commit is contained in:
calle
2023-03-29 19:40:52 +02:00
committed by GitHub
parent 239f166a14
commit 994b203a8e

View File

@@ -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