1
0
mirror of https://github.com/oceanprotocol/ocean.js.git synced 2024-11-26 20:39:05 +01:00

debug test

This commit is contained in:
paulo-ocean 2024-09-06 16:01:06 +01:00
parent f0e571efe1
commit fe3fbc4edd

View File

@ -139,6 +139,8 @@ export async function createAsset(
const config = new ConfigHelper().getConfig(parseInt(String(chainID)))
console.log('Config is:', config)
const templateIndex = await calculateTemplateIndex(chainID, template)
if (templateIndex < 1) {
throw new Error(`Invalid template index: ${templateIndex}`)