Skip to content

Commit

Permalink
commission rate fractional digits set to 2.
Browse files Browse the repository at this point in the history
  • Loading branch information
Srikanth Reddy authored and Srikanth Reddy committed Oct 8, 2021
1 parent 2922b8c commit 65f7b40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/containers/Stake/Table.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ class Table extends Component {
parseFloat((Number(item.tokens) / 1000000).toFixed(1)),
item.commission && item.commission.commission_rates &&
item.commission.commission_rates.rate
? parseFloat((Number(item.commission.commission_rates.rate) * 100).toFixed(1)) : null,
? parseFloat((Number(item.commission.commission_rates.rate) * 100).toFixed(2)) : null,
item,
item.operator_address,
])
Expand Down

0 comments on commit 65f7b40

Please sign in to comment.