File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -329,7 +329,7 @@ where
329329 ) -> Result < CollectionId , DispatchError > {
330330 Collections :: < T > :: try_mutate_exists ( collection_id, |collection| -> DispatchResult {
331331 let collection = collection. as_mut ( ) . ok_or ( Error :: < T > :: CollectionUnknown ) ?;
332- collection. max = Some ( collection . nfts_count ) ;
332+ collection. max = Some ( 0 ) ;
333333 Ok ( ( ) )
334334 } ) ?;
335335
Original file line number Diff line number Diff line change @@ -900,7 +900,7 @@ export async function lockCollection(
900900
901901 await getCollection ( api , collectionId ) . then ( ( collectionOption ) => {
902902 const collection = collectionOption . unwrap ( ) ;
903- expect ( collection . max . unwrap ( ) . toNumber ( ) ) . to . be . equal ( max ) ;
903+ expect ( collection . max . unwrap ( ) . toNumber ( ) ) . to . be . equal ( 0 ) ;
904904 } ) ;
905905}
906906
You can’t perform that action at this time.
0 commit comments