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

Mint: add max balance setting #369

Merged
merged 1 commit into from
Nov 24, 2023
Merged

Mint: add max balance setting #369

merged 1 commit into from
Nov 24, 2023

Conversation

callebtc
Copy link
Collaborator

@callebtc callebtc commented Nov 24, 2023

Adds .env file environment variable to limit the maximum balance of a mint.

Set

MINT_MAX_BALANCE=100000

to limit the balance to 100,000 Satoshis.

Copy link

codecov bot commented Nov 24, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (f7d0126) 66.00% compared to head (5776b1b) 66.11%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #369      +/-   ##
==========================================
+ Coverage   66.00%   66.11%   +0.10%     
==========================================
  Files          68       68              
  Lines        5166     5179      +13     
==========================================
+ Hits         3410     3424      +14     
+ Misses       1756     1755       -1     

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

@callebtc callebtc merged commit bff30d4 into main Nov 24, 2023
9 checks passed
@callebtc callebtc deleted the mint/add_max_balance branch November 24, 2023 18:27
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

1 participant