Skip to content

Commit

Permalink
fix voting power filter (#188)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bitcoinera authored and faboweb committed Dec 12, 2019
1 parent 167fcea commit e9bfc5e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/reducers/cosmosV0-reducers.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ function validatorReducer(
website: websiteURL,
identity: validator.description.identity,
name: validator.description.moniker,
votingPower: validator.voting_power,
votingPower: validator.voting_power.toFixed(9),
startHeight: validator.signing_info
? validator.signing_info.start_height
: undefined,
Expand Down
2 changes: 1 addition & 1 deletion lib/reducers/cosmosV2-reducers.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function validatorReducer(
website: websiteURL,
identity: validator.description.identity,
name: validator.description.moniker,
votingPower: validator.voting_power,
votingPower: validator.voting_power.toFixed(9),
startHeight: validator.signing_info
? validator.signing_info.start_height
: undefined,
Expand Down

0 comments on commit e9bfc5e

Please sign in to comment.