Skip to content

Commit

Permalink
Fix amount in checker
Browse files Browse the repository at this point in the history
  • Loading branch information
icodragon authored Sep 2, 2022
1 parent 70af4af commit 53e76a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gentx_checker.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class GentxChecker {
}

isHealthyAmount() {
return parseInt(this._validator_data.value.amount) / 10000000 === 1.0;
return parseInt(this._validator_data.value.amount) / 10000000000000000000 === 1.0;
}

isHealthyDenom() {
Expand Down

0 comments on commit 53e76a0

Please sign in to comment.