Skip to content

Commit

Permalink
fix(hapi): fix health_status and refactor unneeded commentary
Browse files Browse the repository at this point in the history
  • Loading branch information
Torresmorah committed Jan 30, 2023
1 parent 98f4f40 commit b89f446
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hapi/src/services/eosio.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ const getBPJsons = async (producers = []) => {
}

healthStatus = await getProducerHealthStatus({
producer,
...producer,
producerUrl,
bpJson,
})
Expand Down
2 changes: 1 addition & 1 deletion hapi/src/utils/producer.util.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ const getExpectedRewards = async (producers, totalVotes) => {
case eosConfig.knownNetworks.telos:
rewards = await getTelosRewards(producers)
break
default: // reward for each block produced
default:
rewards = await getEOSIORewards(producers, totalVotes)
break
}
Expand Down

0 comments on commit b89f446

Please sign in to comment.