mirror of
https://github.com/RoboSats/robosats.git
synced 2025-01-18 12:11:35 +00:00
Update lnd.py
Added AMP Support for SendPaymentRequest in lnd.py, for lnd v0.18 and above
This commit is contained in:
parent
e6a40c12ea
commit
3ea3a9d6f8
@ -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