1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 01:47:00 +01:00

Fix Unable to determine contract standard error (#18300)

Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
This commit is contained in:
Amer Kadic 2023-04-11 02:56:02 +02:00 committed by GitHub
parent 6638d79932
commit 463fe40fde
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -152,7 +152,7 @@ export function useTransactionDisplayData(transactionGroup) {
async function getAndSetAssetDetails() {
if (isTokenCategory && !token) {
const assetDetails = await getAssetDetails(
recipientAddress,
to,
senderAddress,
initialTransaction?.txParams?.data,
knownNfts,
@ -168,6 +168,7 @@ export function useTransactionDisplayData(transactionGroup) {
senderAddress,
initialTransaction?.txParams?.data,
knownNfts,
to,
]);
if (currentAssetDetails) {
token = {