feat: lnd_rest allow self payments (#2760)
* Update lndrest.py - added the ability to receive self payments on the node [issue] You have to enable circular payment on lnd.conf. Note that lnd.conf doesn't allow allow_self_payment parameter, that is why is necessary to define that on transaction. * feat: add LND rest `"allow_self_payment"` option --------- Co-authored-by: Vlad Stan <stan.v.vlad@gmail.com>
This commit is contained in:
@@ -323,6 +323,7 @@ class LndRestFundingSource(LNbitsSettings):
|
||||
lnd_rest_macaroon: Optional[str] = Field(default=None)
|
||||
lnd_rest_macaroon_encrypted: Optional[str] = Field(default=None)
|
||||
lnd_rest_route_hints: bool = Field(default=True)
|
||||
lnd_rest_allow_self_payment: bool = Field(default=False)
|
||||
lnd_cert: Optional[str] = Field(default=None)
|
||||
lnd_admin_macaroon: Optional[str] = Field(default=None)
|
||||
lnd_invoice_macaroon: Optional[str] = Field(default=None)
|
||||
|
||||
Reference in New Issue
Block a user