Skip to content

Route computation: fix fee check#1101

Merged
sstone merged 5 commits intomasterfrom
router_fix_fee
Aug 20, 2019
Merged

Route computation: fix fee check#1101
sstone merged 5 commits intomasterfrom
router_fix_fee

Conversation

@sstone
Copy link
Member

@sstone sstone commented Aug 20, 2019

Fee check during route computation is:

  • fee is below maximum value
  • OR fee is below amout * maximum percentage

The second check was buggy and route computation would fail when fees we above maximum value but below maximum percentage of amount being paid.

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

5 participants