Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ety001 committed Nov 9, 2023
1 parent da94b96 commit 5c83836
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/BlockReward.vue
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export default {
const currentSbdSupply = dgp.current_sbd_supply.split(' ');
// Percent SBD
const tmpSbdSupply = currentSbdSupply[0] / currentMedianPrice;
const percentSbd = tmpSbdSupply / (currentSupply[0] + tmpSbdSupply);
const percentSbd = tmpSbdSupply / (parseInt(currentSupply[0], 10) + tmpSbdSupply);
// Display the data
this.data = [
Expand Down

0 comments on commit 5c83836

Please sign in to comment.