Skip to content

Commit

Permalink
Fix feedback from #189
Browse files Browse the repository at this point in the history
  • Loading branch information
shawntabrizi committed Nov 19, 2024
1 parent 9b2b2d2 commit c8c2e0f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion steps/31/src/impls.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use super::*;
use frame::prelude::*;
/* 🚧 TODO 🚧: Import `frame::primtives::BlakeTwo256`. */
/* 🚧 TODO 🚧: Import `frame::primitives::BlakeTwo256`. */
/* 🚧 TODO 🚧: Import `frame::traits::Hash`. */

impl<T: Config> Pallet<T> {
Expand Down
2 changes: 1 addition & 1 deletion steps/40/src/impls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ impl<T: Config> Pallet<T> {

/* 🚧 TODO 🚧: Update the owner of the kitty:
- Update `kitty.owner` to `to`.
- Update the `KittiesOwned` of `from` and `to:
- Update the `KittiesOwned` of `from` and `to:
- Create a mutable `to_owned` by querying `KittiesOwned` for `to`.
- `try_push` the `kitty_id` to the `to_owned` vector.
- If the vector is full, `map_err` and return `Error::<T>::TooManyOwned`.
Expand Down

0 comments on commit c8c2e0f

Please sign in to comment.