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

Remove reserve check if splice contribution is positive #2771

Merged
merged 1 commit into from
Nov 3, 2023

Conversation

pm47
Copy link
Member

@pm47 pm47 commented Nov 3, 2023

If remote has a positive contribution, we do not check their post-splice reserve level, because they are improving their situation, even if they stay below the requirement. Note that if local splices-in some funds in the same operation, remote post-splice reserve may actually be worse than before, but that's not their fault.

If remote has a positive contribution, we do not check their
post-splice reserve level, because they are improving their
situation, even if they stay below the requirement. Note that if
local splices-in some funds in the same operation, remote
post-splice reserve may actually be worse than before, but that's
not their fault.
@pm47 pm47 requested a review from t-bast November 3, 2023 17:25
@codecov-commenter
Copy link

Codecov Report

Merging #2771 (8f5d459) into master (830335f) will increase coverage by 0.04%.
The diff coverage is 100.00%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

@@            Coverage Diff             @@
##           master    #2771      +/-   ##
==========================================
+ Coverage   85.79%   85.84%   +0.04%     
==========================================
  Files         216      216              
  Lines       18127    18129       +2     
  Branches      738      775      +37     
==========================================
+ Hits        15552    15562      +10     
+ Misses       2575     2567       -8     
Files Coverage Δ
...in/scala/fr/acinq/eclair/channel/fsm/Channel.scala 85.80% <100.00%> (ø)
...inq/eclair/channel/fund/InteractiveTxBuilder.scala 91.58% <100.00%> (+0.04%) ⬆️

... and 5 files with indirect coverage changes

@pm47 pm47 merged commit 35e318e into master Nov 3, 2023
1 check passed
@pm47 pm47 deleted the remove-reserve-check-positive-contrib branch November 3, 2023 17:47
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.

3 participants