Skip to content

Commit

Permalink
settings
Browse files Browse the repository at this point in the history
  • Loading branch information
callebtc committed May 22, 2024
1 parent 4134e6b commit fb4c353
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cashu/core/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ class LndRestFundingSource(MintSettings):
mint_lnd_rest_macaroon: Optional[str] = Field(default=None)
mint_lnd_rest_admin_macaroon: Optional[str] = Field(default=None)
mint_lnd_rest_invoice_macaroon: Optional[str] = Field(default=None)
mint_lnd_enable_mpp_experimental: bool = Field(default=False)
mint_lnd_enable_mpp: bool = Field(default=False)


class CoreLightningRestFundingSource(MintSettings):
Expand Down
2 changes: 1 addition & 1 deletion cashu/lightning/lndrest.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
class LndRestWallet(LightningBackend):
"""https://api.lightning.community/rest/index.html#lnd-rest-api-reference"""

supports_mpp = settings.mint_lnd_enable_mpp_experimental
supports_mpp = settings.mint_lnd_enable_mpp
supported_units = set([Unit.sat, Unit.msat])
unit = Unit.sat

Expand Down

0 comments on commit fb4c353

Please sign in to comment.