diff --git a/src/ocean/Compute.ts b/src/ocean/Compute.ts index 64c32bf5..b0e6b0b7 100644 --- a/src/ocean/Compute.ts +++ b/src/ocean/Compute.ts @@ -510,7 +510,8 @@ export class Compute extends Instantiable { serviceIndex: number, algorithm: ComputeAlgorithm, mpAddress?: string, - computeAddress?: string + computeAddress?: string, + searchPreviousOrders = true ): SubscribablePromise { return new SubscribablePromise(async (observer) => { // first check if we can order this @@ -526,7 +527,8 @@ export class Compute extends Instantiable { consumerAccount, -1, mpAddress, - computeAddress + computeAddress, + searchPreviousOrders ) return order })