From df95801ca8e0d142629a38d6f566b7e2fbc6c7b0 Mon Sep 17 00:00:00 2001 From: alexcos20 Date: Tue, 19 May 2020 05:16:00 -0700 Subject: [PATCH] fix tests broken due to master merge --- src/ocean/OceanCompute.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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,