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

Allow deactivating MPP #1289

Merged
merged 1 commit into from
Jan 23, 2020
Merged

Allow deactivating MPP #1289

merged 1 commit into from
Jan 23, 2020

Conversation

t-bast
Copy link
Member

@t-bast t-bast commented Jan 23, 2020

When paying an invoice, we weren't properly checking our own features.
If the invoice supported MPP, we would use it all the time.

If MPP isn't enabled in our features, we now default to a legacy payment.

When paying an invoice, we weren't properly checking our own features.
If the invoice supported MPP, we would use it all the time.

If MPP isn't enabled in our features, we now default to a legacy payment.
@t-bast t-bast requested a review from dpad85 January 23, 2020 14:25
@codecov-io
Copy link

Codecov Report

Merging #1289 into master will increase coverage by 0.03%.
The diff coverage is 80%.

@@            Coverage Diff             @@
##           master    #1289      +/-   ##
==========================================
+ Coverage   77.19%   77.22%   +0.03%     
==========================================
  Files         143      143              
  Lines        9975     9976       +1     
  Branches      423      408      -15     
==========================================
+ Hits         7700     7704       +4     
+ Misses       2275     2272       -3
Impacted Files Coverage Δ
...r/acinq/eclair/payment/send/PaymentInitiator.scala 96.36% <80%> (+0.06%) ⬆️
...cinq/eclair/blockchain/bitcoind/zmq/ZMQActor.scala 89.74% <0%> (-5.13%) ⬇️
...in/scala/fr/acinq/eclair/channel/Commitments.scala 90.32% <0%> (-0.36%) ⬇️
...-core/src/main/scala/fr/acinq/eclair/io/Peer.scala 76.57% <0%> (-0.29%) ⬇️
...c/main/scala/fr/acinq/eclair/channel/Channel.scala 83.56% <0%> (+0.55%) ⬆️
...clair/payment/send/MultiPartPaymentLifecycle.scala 97.63% <0%> (+0.59%) ⬆️

Copy link
Member

@dpad85 dpad85 left a comment

Choose a reason for hiding this comment

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

👍

@dpad85 dpad85 merged commit 60359c6 into master Jan 23, 2020
@dpad85 dpad85 deleted the allow-deactivating-mpp branch January 23, 2020 14:38
dpad85 pushed a commit that referenced this pull request Jan 24, 2020
When paying an invoice, we weren't properly checking our own features.
If the invoice supported MPP, we would use it all the time.

If MPP isn't enabled in our features, we now default to a legacy payment.

(cherry picked from commit 60359c6)
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