Skip to content

Commit

Permalink
fix: change however -> how in lesson 11 chapter 3 (CryptozombiesH…
Browse files Browse the repository at this point in the history
…Q#706)

Co-authored-by: guozhiyi01 <[email protected]>
  • Loading branch information
wine-fall and guozhiyi01 authored Dec 21, 2022
1 parent 96bbf08 commit a992bb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion en/3/11-savinggasstorage.md
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,6 @@ In our `getZombiesByOwner` function, we want to return a `uint[]` array with all

1. Declare a `uint[] memory` variable called `result`

2. Set it equal to a new `uint` array. The length of the array should be however many zombies this `_owner` owns, which we can look up from our `mapping` with: `ownerZombieCount[_owner]`.
2. Set it equal to a new `uint` array. The length of the array should be how many zombies this `_owner` owns, which we can look up from our `mapping` with: `ownerZombieCount[_owner]`.

3. At the end of the function return `result`. It's just an empty array right now, but in the next chapter we'll fill it in.

0 comments on commit a992bb9

Please sign in to comment.