Skip to content

Commit

Permalink
Fix percentages
Browse files Browse the repository at this point in the history
  • Loading branch information
jmsm412 committed Sep 9, 2024
1 parent 06815fa commit e23cf5c
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,16 +187,15 @@ const CustomizeFees: React.FC<TResaleMarketplace> = ({
<br />
Total:{' '}
{(
total +
nodeFee +
treasuryFee / BigInt(10) ** minterDecimals
(total + nodeFee + treasuryFee) /
BigInt(10) ** minterDecimals
).toString()}
%
<br />
Percentage left for the seller:{' '}
{(
BigInt(100) * precisionFactor -
(total + nodeFee + treasuryFee) / BigInt(10) ** minterDecimals
(BigInt(100) * precisionFactor - (total + nodeFee + treasuryFee)) /
BigInt(10) ** minterDecimals
).toString()}
%
<br />
Expand Down

0 comments on commit e23cf5c

Please sign in to comment.