mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +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:
parent
6638d79932
commit
463fe40fde
@ -152,7 +152,7 @@ export function useTransactionDisplayData(transactionGroup) {
|
|||||||
async function getAndSetAssetDetails() {
|
async function getAndSetAssetDetails() {
|
||||||
if (isTokenCategory && !token) {
|
if (isTokenCategory && !token) {
|
||||||
const assetDetails = await getAssetDetails(
|
const assetDetails = await getAssetDetails(
|
||||||
recipientAddress,
|
to,
|
||||||
senderAddress,
|
senderAddress,
|
||||||
initialTransaction?.txParams?.data,
|
initialTransaction?.txParams?.data,
|
||||||
knownNfts,
|
knownNfts,
|
||||||
@ -168,6 +168,7 @@ export function useTransactionDisplayData(transactionGroup) {
|
|||||||
senderAddress,
|
senderAddress,
|
||||||
initialTransaction?.txParams?.data,
|
initialTransaction?.txParams?.data,
|
||||||
knownNfts,
|
knownNfts,
|
||||||
|
to,
|
||||||
]);
|
]);
|
||||||
if (currentAssetDetails) {
|
if (currentAssetDetails) {
|
||||||
token = {
|
token = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user