mirror of
https://github.com/lnbits/lnbits.git
synced 2025-04-08 20:08:18 +02:00
Added maxfee paramenter to Spark pay method (working on c-lightning 0.11.0.1) (#641)
This commit is contained in:
parent
145b69b259
commit
b03da7b9c2
@ -109,7 +109,10 @@ class SparkWallet(Wallet):
|
||||
|
||||
async def pay_invoice(self, bolt11: str, fee_limit_msat: int) -> PaymentResponse:
|
||||
try:
|
||||
r = await self.pay(bolt11)
|
||||
r = await self.pay(
|
||||
bolt11=bolt11,
|
||||
maxfee=fee_limit_msat,
|
||||
)
|
||||
except (SparkError, UnknownError) as exc:
|
||||
listpays = await self.listpays(bolt11)
|
||||
if listpays:
|
||||
|
Loading…
x
Reference in New Issue
Block a user