1
0
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:
Bogdan Fazakas 2022-07-26 10:33:21 +03:00
parent ecf78758c5
commit 6bc957f2a6
2 changed files with 3 additions and 0 deletions

View File

@ -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,

View File

@ -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,