From 3356493153eb8d189c51ebe4fe48679f74072507 Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Wed, 25 Oct 2023 13:11:46 +0000 Subject: [PATCH] fix: combine init_collection fns --- --- a/pallets/common/src/lib.rs +++ b/pallets/common/src/lib.rs @@ -1156,13 +1156,6 @@ debug_assert!(credit.peek().is_zero()) } - Self::init_collection_internal(owner, data) - } - - fn init_collection_internal( - owner: T::CrossAccountId, - data: CreateCollectionData, - ) -> Result { { ensure!( data.token_prefix.len() <= MAX_TOKEN_PREFIX_LENGTH as usize, -- gitstuff