--- a/pallets/nonfungible/src/lib.rs +++ b/pallets/nonfungible/src/lib.rs @@ -1273,7 +1273,7 @@ Some(from), nesting_budget, )? { - // Pass, token existence and ouroboros checks are done in `check_indirectly_owned` + // Pass, token existence and ouroboros checks are done in `check_indirectly_owned` } else if nesting.collection_admin && handle.is_owner_or_admin(&sender) { // token existence and ouroboros checks are done in `get_checked_topmost_owner` let _ = >::get_checked_topmost_owner( @@ -1281,7 +1281,8 @@ under, Some(from), nesting_budget, - )?.ok_or(>::TokenNotFound)?; + )? + .ok_or(>::TokenNotFound)?; } else { fail!(>::UserIsNotAllowedToNest); }