Skip to content

Commit

Permalink
fixed list numbering which broke after the insertion of Note block
Browse files Browse the repository at this point in the history
  • Loading branch information
phDooY committed Jan 2, 2018
1 parent 98510ed commit c4a3168
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 2/7-storage.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ When a zombie feeds on some other lifeform, its DNA will combine with the other

2. We don't want to let someone else feed using our zombie! So first, let's make sure we own this zombie. Add a `require` statement to make sure `msg.sender` is equal to this zombie's owner (similar to how we did in the `createRandomZombie` function).

> Note: Again, because our answer-checker is primitive, it's expecting `msg.sender` to come first and will mark it wrong if you switch the order. But normally when you're coding, you can use whichever order you prefer — both are correct.
> Note: Again, because our answer-checker is primitive, it's expecting `msg.sender` to come first and will mark it wrong if you switch the order. But normally when you're coding, you can use whichever order you prefer — both are correct.
3. We're going to need to get this zombie's DNA. So the next thing our function should do is declare a local `Zombie` named `myZombie` (which will be a `storage` pointer). Set this variable to be equal to index `_zombieId` in our `zombies` array.

Expand Down

0 comments on commit c4a3168

Please sign in to comment.