Skip to content

Fixing Bug with Credit Fee Amount in Credit Offer#3562

Merged
sschiessl-bcp merged 1 commit intobitshares:developfrom
ioBanker:patch-25
Oct 3, 2022
Merged

Fixing Bug with Credit Fee Amount in Credit Offer#3562
sschiessl-bcp merged 1 commit intobitshares:developfrom
ioBanker:patch-25

Conversation

@ioBanker
Copy link
Copy Markdown
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
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.

2 participants