mirror of
https://github.com/lnbits/lnbits.git
synced 2025-09-25 19:36:15 +02:00
return fee in status (#1598)
This commit is contained in:
@@ -386,7 +386,7 @@ async def check_transaction_status(
|
|||||||
return PaymentStatus(None)
|
return PaymentStatus(None)
|
||||||
if not payment.pending:
|
if not payment.pending:
|
||||||
# note: before, we still checked the status of the payment again
|
# 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()
|
status: PaymentStatus = await payment.check_status()
|
||||||
return status
|
return status
|
||||||
|
Reference in New Issue
Block a user