Skip to content

Commit

Permalink
Fix L16 Ch4 typo (CryptozombiesHQ#619)
Browse files Browse the repository at this point in the history
Important typo because following existing instructions will not pass the lesson
  • Loading branch information
dlsso authored Feb 9, 2022
1 parent 277e997 commit 75d3823
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion en/16/04.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,5 +98,5 @@ With that said, let's continue fleshing out the `addOracle` function.
## Put It to the Test

1. Add a `require` statement that makes sure `_oracle` is not already an oracle. If it's an oracle, set the error message to `"Already an oracle!"`.
2. Call the `oracle.add` function passing it `_oracle` as a parameter.
2. Call the `oracles.add` function passing it `_oracle` as a parameter.
3. There is one more thing to do before you wrap up this function. Let's fire an `AddOracleEvent`. It takes one parameter - the address of the newly added oracle which comes from the function's parameters.

0 comments on commit 75d3823

Please sign in to comment.