diff --git a/pages/price-feeds/create-your-first-pyth-app/evm/part-2.mdx b/pages/price-feeds/create-your-first-pyth-app/evm/part-2.mdx index d740937d..52b2f3aa 100644 --- a/pages/price-feeds/create-your-first-pyth-app/evm/part-2.mdx +++ b/pages/price-feeds/create-your-first-pyth-app/evm/part-2.mdx @@ -243,7 +243,7 @@ async function run() { console.log(priceFeedUpdateData); const hash = await contract.write.updateAndMint( - [priceFeedUpdateData as any], + [[`0x${priceFeedUpdateData.binary.data[0]}`]] as any, { value: parseEther("0.0005") } ); console.log("Transaction hash:");