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

Fixing Bug with Credit Fee Amount in Credit Offer #3562

Merged
merged 1 commit into from
Oct 3, 2022

Conversation

ioBanker
Copy link
Member

User had reported the below error while submitting repay credit deal operation:

Error

A core check is rejecting 9 as the credit_fee amount of the operation; it was found that the determination of credit_fee amount is coming through the code equation (fRate * debtAmount * rate); it was solved by rounded up result using Math.ceil()

Testing credits to @thontron

@sschiessl-bcp sschiessl-bcp merged commit 50b1c28 into bitshares:develop Oct 3, 2022
@sschiessl-bcp sschiessl-bcp added this to In progress in 5.0.230113 Release via automation Oct 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants