Skip to content

Commit

Permalink
Renames AddOracleEvent -> RemoveOracleEvent (CryptozombiesHQ#547)
Browse files Browse the repository at this point in the history
  • Loading branch information
iamnotaturtle authored Sep 14, 2021
1 parent 87fa5fc commit d81ce93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fa/16/05.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,6 @@ We've gone ahead and created a function named `removeOracle`, and filled in the
3. Inside the `removeOracle` function, add the `require` statement that checks that `numOracles > 1`. Set the message to `"Do not remove the last oracle!"`
4. Call the `oracle.remove` function, passing it `_oracle` as an argument.
5. Use `--` to decrement `numOracles`.
6. Lastly, let's fire `AddOracleEvent`. It takes one argument- `_oracle`.
6. Lastly, let's fire `RemoveOracleEvent`. It takes one argument- `_oracle`.

This was a lot. And still, there's one thing left. The `addOracle` function should increment the `numOracles` variable. Don't worry about this though, we've gone ahead and added that line of code🤓.

0 comments on commit d81ce93

Please sign in to comment.