Skip to content

Conversation

@AmmarYousefM
Copy link
Contributor

Fixing wrong precision over accumulated collateral fees amount (TEXT BOX).

claimCollateralFeesAmountAsset: new Asset({
amount: 0,
precision: this.props.asset.get("precision"),
precision: this.props.core.get("precision"),
Copy link
Member

Choose a reason for hiding this comment

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

This looks wrong. In fact, the asset type of the collateral fee is just the backing asset (see code below), it could be another asset, but not only core.

@sschiessl-bcp
Copy link
Contributor

Stale, if you want to continue please pick up the review comments and finalize

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.

3 participants