Skip to content

Commit

Permalink
reduce double spaces (CryptozombiesHQ#480)
Browse files Browse the repository at this point in the history
  • Loading branch information
leehosung authored Jul 6, 2021
1 parent 9cc553d commit f9e63d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions en/16/08.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ material:
if (numResponses == THRESHOLD) {
uint computedEthPrice = 0;
for (uint f=0; f < requestIdToResponse[_id].length; f++) {
computedEthPrice += requestIdToResponse[_id][f].ethPrice;
computedEthPrice += requestIdToResponse[_id][f].ethPrice;
}
computedEthPrice = computedEthPrice / numResponses;
delete pendingRequests[_id];
Expand Down Expand Up @@ -180,4 +180,4 @@ Let's write a `for` loop that iterates through all the responses for a particula

3. Inside the `for` loop, use `+=` to add `requestIdToResponse[_id][f].ethPrice` to `computedEthPrice`.

4. Calculate the average by dividing `computedEthPrice` to `numResponses`. Store the result in `computedEthPrice`.
4. Calculate the average by dividing `computedEthPrice` to `numResponses`. Store the result in `computedEthPrice`.

0 comments on commit f9e63d9

Please sign in to comment.