Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow setting mint as peg-out only #160

Merged
merged 3 commits into from Apr 16, 2023
Merged

Conversation

sihamon
Copy link
Collaborator

@sihamon sihamon commented Apr 12, 2023

See #151.
Adds flag mint_peg_out_only in settings. If set and someone tries to mint or requests minting, an error is raised.

@callebtc
Copy link
Collaborator

LGTM. Fantastic job!

cashu/mint/router.py Outdated Show resolved Hide resolved
cashu/mint/router.py Outdated Show resolved Hide resolved
@callebtc
Copy link
Collaborator

Removed redundant else: blocks.

@callebtc callebtc merged commit e7d7659 into cashubtc:main Apr 16, 2023
3 checks passed
@sihamon sihamon deleted the mint-peg-out-only branch April 23, 2023 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants