mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
check correct pool (#304)
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
This commit is contained in:
parent
de1bc11efe
commit
828940776d
@ -65,7 +65,7 @@ function AssetProvider({
|
|||||||
ocean,
|
ocean,
|
||||||
ddo.dataToken,
|
ddo.dataToken,
|
||||||
ddo?.price?.type,
|
ddo?.price?.type,
|
||||||
ddo.price.pools[0]
|
ddo.price.address
|
||||||
)
|
)
|
||||||
setPrice(newPrice)
|
setPrice(newPrice)
|
||||||
Logger.log(`Refreshed asset price: ${newPrice?.value}`)
|
Logger.log(`Refreshed asset price: ${newPrice?.value}`)
|
||||||
|
Loading…
Reference in New Issue
Block a user