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

Making add un-approved transaction idempotent (#16995)

This commit is contained in:
Jyoti Puri 2022-12-20 18:01:37 +05:30 committed by GitHub
parent 7e7a0f1f72
commit c61d44a3be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -338,6 +338,9 @@ export default class TransactionController extends EventEmitter {
const initialTxMeta = await this.addUnapprovedTransaction(
txParams,
opts.origin,
undefined,
undefined,
opts.id,
);
// listen for tx completion (success, fail)