Temporarily disable the updatable option for flexible collections on testnet

This commit is contained in:
Serkan Reis 2023-07-05 09:09:58 +03:00
parent 975161bb70
commit 660fef4440

View File

@ -538,7 +538,11 @@ const CollectionCreationPage: NextPage = () => {
whitelist,
},
collection_params: {
code_id: collectionDetails?.updatable ? SG721_UPDATABLE_CODE_ID : SG721_CODE_ID,
code_id: collectionDetails?.updatable
? whitelistDetails?.whitelistType === 'flex'
? SG721_CODE_ID
: SG721_UPDATABLE_CODE_ID
: SG721_CODE_ID,
name: collectionDetails?.name,
symbol: collectionDetails?.symbol,
info: {