mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-29 23:58:06 +01:00
Making add un-approved transaction idempotent (#16995)
This commit is contained in:
parent
7e7a0f1f72
commit
c61d44a3be
@ -338,6 +338,9 @@ export default class TransactionController extends EventEmitter {
|
|||||||
const initialTxMeta = await this.addUnapprovedTransaction(
|
const initialTxMeta = await this.addUnapprovedTransaction(
|
||||||
txParams,
|
txParams,
|
||||||
opts.origin,
|
opts.origin,
|
||||||
|
undefined,
|
||||||
|
undefined,
|
||||||
|
opts.id,
|
||||||
);
|
);
|
||||||
|
|
||||||
// listen for tx completion (success, fail)
|
// listen for tx completion (success, fail)
|
||||||
|
Loading…
Reference in New Issue
Block a user