Skip to content

Commit

Permalink
fixed formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Ridel1e committed Feb 23, 2024
1 parent 6aa9f29 commit 9c6acc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/models/AmmPool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export abstract class AmmPool {
`(1 - ${this.feeNum} / ${this.feeDenom}) * ${
this.feeDenom / 10n ** this.feeDecimalsCount
}`,
).toFixed(1);
).toFixed(1, Number(this.feeDecimalsCount));
}

get treasuryFee(): number | undefined {
Expand Down

0 comments on commit 9c6acc7

Please sign in to comment.