diff --git a/src/utils/reputation.ts b/src/utils/reputation.ts index c7b5ecc9ab..82f604b320 100644 --- a/src/utils/reputation.ts +++ b/src/utils/reputation.ts @@ -18,7 +18,7 @@ export const calculatePercentageReputation = ( const reputationSafeguard = bigNumberify(100).pow(decimalPlaces); - if (userReputationNumber.isZero()) { + if (userReputationNumber.isZero() || totalReputationNumber.isZero()) { return ZeroValue.Zero; }