We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c11f84 commit 8245c06Copy full SHA for 8245c06
.changeset/loose-tools-move.md
@@ -0,0 +1,5 @@
1
+---
2
+"thirdweb": patch
3
4
+
5
+Fixes token pricing in PayEmbed
packages/thirdweb/src/pay/convert/cryptoToFiat.ts
@@ -107,7 +107,7 @@ export async function convertCryptoToFiat(
107
},
108
}),
109
{
110
- cacheKey: `convert-fiat-to-crypto-${to}-${chain.id}`,
+ cacheKey: `convert-fiat-to-crypto-${fromTokenAddress}-${chain.id}`,
111
cacheTime: 1000 * 60, // 1 minute cache
112
113
);
0 commit comments