Merge branch 'main' of github.com:lnbits/lnbits-legend
This commit is contained in:
commit
521c821f6b
|
@ -97,7 +97,7 @@ class EclairWallet(Wallet):
|
|||
f"{self.url}/payinvoice",
|
||||
headers=self.auth,
|
||||
data={"invoice": bolt11, "blocking": True},
|
||||
timeout=40,
|
||||
timeout=None,
|
||||
)
|
||||
|
||||
if "error" in r.json():
|
||||
|
|
|
@ -88,7 +88,7 @@ class LNbitsWallet(Wallet):
|
|||
url=f"{self.endpoint}/api/v1/payments",
|
||||
headers=self.key,
|
||||
json={"out": True, "bolt11": bolt11},
|
||||
timeout=100,
|
||||
timeout=None,
|
||||
)
|
||||
ok, checking_id, fee_msat, error_message = not r.is_error, None, 0, None
|
||||
|
||||
|
|
|
@ -111,7 +111,7 @@ class LndRestWallet(Wallet):
|
|||
url=f"{self.endpoint}/v1/channels/transactions",
|
||||
headers=self.auth,
|
||||
json={"payment_request": bolt11, "fee_limit": lnrpcFeeLimit},
|
||||
timeout=180,
|
||||
timeout=None,
|
||||
)
|
||||
|
||||
if r.is_error or r.json().get("payment_error"):
|
||||
|
|
|
@ -84,7 +84,7 @@ class LNPayWallet(Wallet):
|
|||
f"{self.endpoint}/wallet/{self.wallet_key}/withdraw",
|
||||
headers=self.auth,
|
||||
json={"payment_request": bolt11},
|
||||
timeout=180,
|
||||
timeout=None,
|
||||
)
|
||||
|
||||
try:
|
||||
|
|
|
@ -82,7 +82,7 @@ class LntxbotWallet(Wallet):
|
|||
f"{self.endpoint}/payinvoice",
|
||||
headers=self.auth,
|
||||
json={"invoice": bolt11},
|
||||
timeout=100,
|
||||
timeout=None,
|
||||
)
|
||||
|
||||
if "error" in r.json():
|
||||
|
|
|
@ -85,7 +85,7 @@ class OpenNodeWallet(Wallet):
|
|||
f"{self.endpoint}/v2/withdrawals",
|
||||
headers=self.auth,
|
||||
json={"type": "ln", "address": bolt11},
|
||||
timeout=180,
|
||||
timeout=None,
|
||||
)
|
||||
|
||||
if r.is_error:
|
||||
|
|
Loading…
Reference in New Issue
Block a user