1
0
mirror of https://github.com/oceanprotocol-archive/squid-js.git synced 2024-02-02 15:31:51 +01:00
This commit is contained in:
alexcos20 2020-02-02 08:32:53 +02:00
parent d46773b197
commit 0b8c7c950c

View File

@ -108,14 +108,14 @@ export class OceanCompute extends Instantiable {
private checkOutput(consumerAccount: Account, output?: Output): Output {
const isDefault =
!output || (!output.publishAlgorithmLog && !output.publishOutput)
if (isDefault) {
return {
publishAlgorithmLog: false,
publishOutput: false
}
}
return {
publishAlgorithmLog: output.publishAlgorithmLog,
publishOutput: output.publishOutput,
@ -127,7 +127,7 @@ export class OceanCompute extends Instantiable {
secretStoreUri: output.secretStoreUri || this.config.secretStoreUri
}
}
/**
* Start the execution of a compute job.
* @param {Account} consumerAccount The account of the consumer ordering the service.