1
0
mirror of https://github.com/oceanprotocol-archive/squid-js.git synced 2024-02-02 15:31:51 +01:00

fix tests broken due to master merge

This commit is contained in:
alexcos20 2020-05-19 05:16:00 -07:00
parent 3e9e809860
commit df95801ca8

View File

@ -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<ServiceCompute> {
const { templates } = this.ocean.keeper
const serviceAgreementTemplate = await templates.escrowComputeExecutionTemplate.getServiceAgreementTemplate()
const name = 'dataAssetComputingServiceAgreement'
if (!timeout) timeout = 3600
const service = {
type: 'compute',
index: 3,