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

fix: use budget to calculate balance if set #130

Closed
wants to merge 2 commits into from

Conversation

rolznz
Copy link
Contributor

@rolznz rolznz commented Aug 29, 2023

Also removes unused fields from response

Copy link
Contributor

@kiwiidb kiwiidb left a comment

Choose a reason for hiding this comment

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

I don't feel like this would be a good change. I don't know if there are users who asked for this but personally I would like to see my full balance in Amethyst/Damus, regardless if I would have set a budget. Because I would like to see how much sats I've earned with zaps in total and it would be practical. So I feel it's better to return the current budget usage instead of changing the balance field to have a different meaning based on if there is a budget set or not. Then clients can choose what to display.

@rolznz rolznz closed this Aug 31, 2023
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