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

add missing disabled-flag to nut4 #426

Merged
merged 2 commits into from
Feb 16, 2024
Merged

Conversation

ngutech21
Copy link
Contributor

According to the current spec the nut4 info-response provided by nutshell is missing the disabled-flag
https://github.com/cashubtc/nuts/blob/main/04.md

BTW nutshell is providing a disabled flag for nut5, which is not part of the spec. This is not a problem for a client, because additional information in the json is ignored, but I think this is an error in the spec. The mint runner should have the option to disable minting and melting.

Copy link

codecov bot commented Feb 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (ecad957) 68.79% compared to head (619d827) 68.77%.
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #426      +/-   ##
==========================================
- Coverage   68.79%   68.77%   -0.02%     
==========================================
  Files          73       73              
  Lines        6441     6447       +6     
==========================================
+ Hits         4431     4434       +3     
- Misses       2010     2013       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@callebtc callebtc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

cashu/mint/router.py Outdated Show resolved Hide resolved
@callebtc callebtc merged commit 1397c46 into cashubtc:main Feb 16, 2024
15 checks passed
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.

2 participants