mirror of
https://github.com/oceanprotocol/ocean.js.git
synced 2024-11-26 20:39:05 +01:00
fix minor logic issue
This commit is contained in:
parent
f3c44d4850
commit
0e06347a0a
@ -290,8 +290,8 @@ export async function createAsset(
|
||||
// create the files encrypted string
|
||||
assetUrl.datatokenAddress = datatokenAddressAsset
|
||||
assetUrl.nftAddress = nftAddress
|
||||
// TODO if template 4 no need to encrypt it??
|
||||
if (config.confidentialEVM) {
|
||||
// if template 4 no need to encrypt it??
|
||||
if (!config.confidentialEVM) {
|
||||
ddo.services[0].files = await ProviderInstance.encrypt(assetUrl, chainID, providerUrl)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user