1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

determine tx type using normalized txparams (#17055)

Co-authored-by: ryanml <ryanlanese@gmail.com>
This commit is contained in:
Michal 2023-01-06 00:37:50 +00:00 committed by GitHub
parent a1c5224997
commit b1254843ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -844,7 +844,10 @@ export default class TransactionController extends EventEmitter {
} }
} }
const { type } = await determineTransactionType(txParams, this.query); const { type } = await determineTransactionType(
normalizedTxParams,
this.query,
);
txMeta.type = transactionType || type; txMeta.type = transactionType || type;
// ensure value // ensure value