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

Correct outbound calculation #565

Merged
merged 1 commit into from
Sep 28, 2023
Merged

Correct outbound calculation #565

merged 1 commit into from
Sep 28, 2023

Conversation

benthecarman
Copy link
Collaborator

@benthecarman benthecarman commented Sep 28, 2023

Before we were showing our ln balance as outbound, however for our LN balance we include things like the reserve so it doesn't look like you randomly lose money. This fixes so we actually correctly calculate outbound capacity

Related to #564

@cloudflare-pages
Copy link

cloudflare-pages bot commented Sep 28, 2023

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 6f322e6
Status: ✅  Deploy successful!
Preview URL: https://144247c9.mutiny-web.pages.dev
Branch Preview URL: https://correct-outbound.mutiny-web.pages.dev

View logs

benalleng added a commit to benalleng/mutiny-web that referenced this pull request Sep 28, 2023
@TonyGiorgio
Copy link
Collaborator

So this is just applied to the settings page? Currently it's double counting reserve, once in outbound and once in the new reserve balance?

@benthecarman
Copy link
Collaborator Author

Yeah just on the LN channels page

Copy link
Collaborator

@TonyGiorgio TonyGiorgio left a comment

Choose a reason for hiding this comment

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

tACK

@benthecarman benthecarman merged commit 7baf79e into master Sep 28, 2023
4 checks passed
@benthecarman benthecarman deleted the correct-outbound branch September 28, 2023 23:28
benalleng added a commit to benalleng/mutiny-web that referenced this pull request Sep 29, 2023
benalleng added a commit to benalleng/mutiny-web that referenced this pull request Sep 29, 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.

None yet

2 participants