Skip to content

Commit ecf1dad

Browse files
committed
🔥 refactor(lib.rs): remove unused spam_spawning function from the pallet module
The `spam_spawning` function was commented out and not being used. Removing it to improve code cleanliness and readability.
1 parent a6d2855 commit ecf1dad

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

‎pallets/fruniques/src/lib.rs‎

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -509,19 +509,5 @@ pub mod pallet {
509509
T::Rbac::remove_pallet_storage(Self::pallet_id())?;
510510
Ok(())
511511
}
512-
513-
#[pallet::call_index(10)]
514-
#[pallet::weight(Weight::from_parts(10_000,0) + T::DbWeight::get().writes(1))]
515-
pub fn spam_spawning(
516-
origin: OriginFor<T>,
517-
class_id: T::CollectionId,
518-
instances: u32,
519-
) -> DispatchResult {
520-
let _ = ensure_signed(origin)?;
521-
// for instance in instances {
522-
// let _ = Self::mint(instance, class_id, None, None, None, None, None, None, None)?;
523-
// }
524-
Ok(())
525-
}
526512
}
527513
}

0 commit comments

Comments
 (0)