Skip to content

Conversation

@GeorgeTsagk
Copy link
Member

Description

This PR removes the PrepayAmount from fee calculations for the FeePortion policy (percentage fee). This will allow smaller swaps to be dispatched and not get disqualified due to very high fees.

@GeorgeTsagk GeorgeTsagk requested a review from bhandras April 12, 2023 16:06
@GeorgeTsagk GeorgeTsagk self-assigned this Apr 12, 2023
@levmi levmi added the bug Something isn't working label Apr 13, 2023
@sputn1ck sputn1ck self-requested a review April 20, 2023 14:09
Copy link
Member

@bhandras bhandras left a comment

Choose a reason for hiding this comment

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

LGTM 🌮

{
name: "prepay too high",
feePPM: 30000,
quote: &loop.LoopOutQuote{
Copy link
Member

Choose a reason for hiding this comment

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

I wonder if instead of deleting just fixing the outcome and adding a comment why this will result in a suggestion is better.

Copy link
Member

@sputn1ck sputn1ck left a comment

Choose a reason for hiding this comment

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

LGTM

@bhandras bhandras merged commit 39bb43c into lightninglabs:master Apr 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants