mirror of
https://github.com/RoboSats/robosats.git
synced 2025-01-31 02:21:35 +00:00
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:
commit
27b8490f33
@ -478,6 +478,7 @@ class LNDNode:
|
|||||||
payment_request=lnpayment.invoice,
|
payment_request=lnpayment.invoice,
|
||||||
fee_limit_sat=fee_limit_sat,
|
fee_limit_sat=fee_limit_sat,
|
||||||
timeout_seconds=timeout_seconds,
|
timeout_seconds=timeout_seconds,
|
||||||
|
amp=True,
|
||||||
)
|
)
|
||||||
|
|
||||||
routerstub = router_pb2_grpc.RouterStub(cls.channel)
|
routerstub = router_pb2_grpc.RouterStub(cls.channel)
|
||||||
@ -536,6 +537,7 @@ class LNDNode:
|
|||||||
fee_limit_sat=fee_limit_sat,
|
fee_limit_sat=fee_limit_sat,
|
||||||
timeout_seconds=timeout_seconds,
|
timeout_seconds=timeout_seconds,
|
||||||
allow_self_payment=True,
|
allow_self_payment=True,
|
||||||
|
amp=True,
|
||||||
)
|
)
|
||||||
|
|
||||||
order = lnpayment.order_paid_LN
|
order = lnpayment.order_paid_LN
|
||||||
|
Loading…
Reference in New Issue
Block a user