mirror of
https://github.com/oceanprotocol/ocean.js.git
synced 2024-11-26 20:39:05 +01:00
add seachPreviousOrder (#755)
This commit is contained in:
parent
0a05e1bf61
commit
2a80c605d4
@ -510,7 +510,8 @@ export class Compute extends Instantiable {
|
||||
serviceIndex: number,
|
||||
algorithm: ComputeAlgorithm,
|
||||
mpAddress?: string,
|
||||
computeAddress?: string
|
||||
computeAddress?: string,
|
||||
searchPreviousOrders = true
|
||||
): SubscribablePromise<OrderProgressStep, string> {
|
||||
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
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user