Merge pull request #1426 from lft3t8bx/amp-for-v0.18

AMP Support for SendPaymentRequest in lnd.py, for lnd v0.18 and above.
This commit is contained in:
KoalaSat 2024-08-26 10:11:52 +00:00 committed by GitHub
commit 27b8490f33
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -478,6 +478,7 @@ class LNDNode:
payment_request=lnpayment.invoice,
fee_limit_sat=fee_limit_sat,
timeout_seconds=timeout_seconds,
amp=True,
)
routerstub = router_pb2_grpc.RouterStub(cls.channel)
@ -536,6 +537,7 @@ class LNDNode:
fee_limit_sat=fee_limit_sat,
timeout_seconds=timeout_seconds,
allow_self_payment=True,
amp=True,
)
order = lnpayment.order_paid_LN