diff --git a/shared/modules/transaction.utils.js b/shared/modules/transaction.utils.js index 092f8e465..8e0e167af 100644 --- a/shared/modules/transaction.utils.js +++ b/shared/modules/transaction.utils.js @@ -16,8 +16,8 @@ export function transactionMatchesNetwork(transaction, chainId, networkId) { */ export function isEIP1559Transaction(transaction) { return ( - isHexString(transaction.txParams.maxFeePerGas) && - isHexString(transaction.txParams.maxPriorityFeePerGas) + isHexString(transaction?.txParams?.maxFeePerGas) && + isHexString(transaction?.txParams?.maxPriorityFeePerGas) ); }