diff --git a/src/ocean/OceanCompute.ts b/src/ocean/OceanCompute.ts index 2028766..694b805 100644 --- a/src/ocean/OceanCompute.ts +++ b/src/ocean/OceanCompute.ts @@ -295,12 +295,13 @@ export class OceanCompute extends Instantiable { consumerAccount: Account, price: string, datePublished: string, - timeout: number = 3600, - computePrivacy?: ServiceComputePrivacy + computePrivacy?: ServiceComputePrivacy, + timeout?: number ): Promise { const { templates } = this.ocean.keeper const serviceAgreementTemplate = await templates.escrowComputeExecutionTemplate.getServiceAgreementTemplate() const name = 'dataAssetComputingServiceAgreement' + if (!timeout) timeout = 3600 const service = { type: 'compute', index: 3,