You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When estimate fee for a standard payment, we stop the estimation after the coin selection. However, adjusting for fees may have an influence on the final fee amount (if change outputs are removed after balancing!)
KtorZ
changed the title
Fee estimation for payments doesn't take
Fee estimation for payments doesn't take fee balancing after selection into account
Dec 9, 2019
1191: compute payment fee as the difference between inputs/outputs r=KtorZ a=KtorZ
# Issue Number
<!-- Put here a reference to the issue this PR relates to and which requirements it tackles -->
#1150
# Overview
<!-- Detail in a few bullet points the work accomplished in this PR -->
- [x] I have re-used the existing coin selection function and removing the need for an extra 'estimateFee' function in the core engine
# Comments
<!-- Additional comments or screenshots to attach if any -->
<!--
Don't forget to:
✓ Self-review your changes to make sure nothing unexpected slipped through
✓ Assign yourself to the PR
✓ Assign one or several reviewer(s)
✓ Once created, link this PR to its corresponding ticket
✓ Assign the PR to a corresponding milestone
✓ Acknowledge any changes required to the Wiki
-->
Co-authored-by: KtorZ <[email protected]>
Context
When estimate fee for a standard payment, we stop the estimation after the coin selection. However, adjusting for fees may have an influence on the final fee amount (if change outputs are removed after balancing!)
Steps to Reproduce
N/A
Expected behavior
Actual behavior
Resolution
QA
The text was updated successfully, but these errors were encountered: