mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
call initialize and price and fees in start compute to prevent use case when users validUntil to expire
This commit is contained in:
parent
ecf78758c5
commit
6bc957f2a6
@ -262,6 +262,7 @@ async function getJobs(
|
|||||||
// }
|
// }
|
||||||
return computeJobs
|
return computeJobs
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function getComputeJobs(
|
export async function getComputeJobs(
|
||||||
chainIds: number[],
|
chainIds: number[],
|
||||||
accountId: string,
|
accountId: string,
|
||||||
|
@ -316,6 +316,8 @@ export default function Compute({
|
|||||||
'Data set is not orderable in combination with selected algorithm.'
|
'Data set is not orderable in combination with selected algorithm.'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
await initPriceAndFees()
|
||||||
|
|
||||||
setComputeStatusText(
|
setComputeStatusText(
|
||||||
getComputeFeedback(
|
getComputeFeedback(
|
||||||
selectedAlgorithmAsset.accessDetails.baseToken?.symbol,
|
selectedAlgorithmAsset.accessDetails.baseToken?.symbol,
|
||||||
|
Loading…
Reference in New Issue
Block a user