mirror of
https://github.com/aljazceru/nutshell.git
synced 2025-12-22 19:34:18 +01:00
request fee from mint
This commit is contained in:
@@ -116,6 +116,8 @@ class LNbitsWallet(Wallet):
|
||||
)
|
||||
except:
|
||||
return PaymentStatus(None)
|
||||
if r.json().get("detail"):
|
||||
return PaymentStatus(None)
|
||||
return PaymentStatus(r.json()["paid"])
|
||||
|
||||
async def get_payment_status(self, checking_id: str) -> PaymentStatus:
|
||||
|
||||
Reference in New Issue
Block a user