1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-12-02 05:57:29 +01:00

fix compute status text display

This commit is contained in:
Bogdan Fazakas 2022-05-16 08:08:15 +03:00
parent feb1f41d5c
commit 50b1af53ac

View File

@ -323,10 +323,10 @@ export default function Compute({
setComputeStatusText( setComputeStatusText(
getComputeFeedback( getComputeFeedback(
asset.accessDetails.baseToken?.symbol, selectedAlgorithmAsset.accessDetails.baseToken?.symbol,
asset.accessDetails.datatoken?.symbol, selectedAlgorithmAsset.accessDetails.datatoken?.symbol,
asset.metadata.type selectedAlgorithmAsset.metadata.type
)[asset.accessDetails?.type === 'fixed' ? 2 : 1] )[selectedAlgorithmAsset.accessDetails?.type === 'fixed' ? 2 : 1]
) )
const algorithmOrderTx = await handleComputeOrder( const algorithmOrderTx = await handleComputeOrder(
web3, web3,