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, consumerAccount: Account,
price: string, price: string,
datePublished: string, datePublished: string,
timeout: number = 3600, computePrivacy?: ServiceComputePrivacy,
computePrivacy?: ServiceComputePrivacy timeout?: number
): Promise<ServiceCompute> { ): Promise<ServiceCompute> {
const { templates } = this.ocean.keeper const { templates } = this.ocean.keeper
const serviceAgreementTemplate = await templates.escrowComputeExecutionTemplate.getServiceAgreementTemplate() const serviceAgreementTemplate = await templates.escrowComputeExecutionTemplate.getServiceAgreementTemplate()
const name = 'dataAssetComputingServiceAgreement' const name = 'dataAssetComputingServiceAgreement'
if (!timeout) timeout = 3600
const service = { const service = {
type: 'compute', type: 'compute',
index: 3, index: 3,