fix: Add Breez SDK trampoline payments support (#2905)
* fix: add support for trampoline payments in Breez integration - Introduced `BREEZ_USE_TRAMPOLINE` configuration in `.env.example`. - Updated `BreezSdkFundingSource` to include `breez_use_trampoline` setting. - Modified payment request in `breez.py` to utilize the trampoline setting when sending payments. * Update .env.example Co-authored-by: Pavol Rusnak <pavol@rusnak.io> * Update lnbits/settings.py Co-authored-by: Pavol Rusnak <pavol@rusnak.io> * refactor: streamline payment request formatting in Breez integration --------- Co-authored-by: Pavol Rusnak <pavol@rusnak.io>
This commit is contained in:
co-authored by
Pavol Rusnak
parent
cb5cc1e5e8
commit
8633891485
@@ -511,6 +511,7 @@ class BreezSdkFundingSource(LNbitsSettings):
|
||||
breez_greenlight_invite_code: Optional[str] = Field(default=None)
|
||||
breez_greenlight_device_key: Optional[str] = Field(default=None)
|
||||
breez_greenlight_device_cert: Optional[str] = Field(default=None)
|
||||
breez_use_trampoline: bool = Field(default=True)
|
||||
|
||||
|
||||
class BoltzFundingSource(LNbitsSettings):
|
||||
|
||||
Reference in New Issue
Block a user