Skip to content

Commit a2725bc

Browse files
committed
fix: token price cache to use proper address
1 parent 913b243 commit a2725bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/thirdweb/src/pay/convert/cryptoToFiat.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ export async function convertCryptoToFiat(
107107
},
108108
}),
109109
{
110-
cacheKey: `convert-fiat-to-crypto-${to}-${chain.id}`,
110+
cacheKey: `convert-fiat-to-crypto-${fromTokenAddress}-${chain.id}`,
111111
cacheTime: 1000 * 60, // 1 minute cache
112112
},
113113
);

0 commit comments

Comments
 (0)