Skip to content
This repository has been archived by the owner on Feb 3, 2025. It is now read-only.

Unfilter force cloes balance #864

Merged
merged 2 commits into from
Nov 17, 2023
Merged

Unfilter force cloes balance #864

merged 2 commits into from
Nov 17, 2023

Conversation

benthecarman
Copy link
Collaborator

@benthecarman benthecarman commented Nov 17, 2023

Closes #862

This was a bug from #825 turns out this counts towards both mutual closes and force closes. lightningdevkit/rust-lightning#2738 will allow us to truly fix.

Force closes are more common (and scary) in Mutiny so for now would be better to have the bug be around mutual closes.

Don't think we can write a test for this without mocking chain_monitor and channel_manager

@benthecarman benthecarman added the bug Something isn't working label Nov 17, 2023
Copy link
Contributor

@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.

True, it's more rare when a normal close happens anyways for the time being. And when force closes can result in potential on chain transactions waiting to confirm at previous fee rates, it is necessary to show something rather than nothing.

though are transaction activity items not showing up either then?

@benthecarman
Copy link
Collaborator Author

though are transaction activity items not showing up either then?

those still show up

@TonyGiorgio TonyGiorgio merged commit 6dce839 into master Nov 17, 2023
9 checks passed
@TonyGiorgio TonyGiorgio deleted the unfilter-fc-bal branch November 17, 2023 17:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unconfirmed Force closes do not show up in the balance
2 participants