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
1 changed files with 4 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue