Skip to content

Conversation

@jvsena42
Copy link
Member

@jvsena42 jvsena42 commented Dec 23, 2025

Closes #533

Description

This PR adds a round fee accounting to the max sendable lightning amount, with a 2 sats buffer. Also changes the 50% total balance sanity check to use individual unchain/lightning balance instead of total balance

Preview

lightning.webm
onchain.webm

QA Notes

  • Transfer full available lightning
  • Check Lighning and on-chain 50% balance sanity check

@jvsena42 jvsena42 self-assigned this Dec 23, 2025
@jvsena42 jvsena42 marked this pull request as ready for review December 23, 2025 12:42
@jvsena42 jvsena42 requested a review from ovitrif December 23, 2025 12:44
Copy link
Collaborator

@ovitrif ovitrif left a comment

Choose a reason for hiding this comment

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

utAck, one remark then it LGTM's

Copy link
Collaborator

@ovitrif ovitrif left a comment

Choose a reason for hiding this comment

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

utAck

@ovitrif ovitrif enabled auto-merge December 23, 2025 14:04
@jvsena42
Copy link
Member Author

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.

Send: Lightning ‘Available/Max’ doesn't account for routing fees, causes Failed to send the given payment

3 participants